Article View: gnu.emacs.help
Article #188921Re: Default filemode in GNU Emacs, how?
From: Mark R. Ludwig
Date: Thu, 13 Jun 1991 21:20
Date: Thu, 13 Jun 1991 21:20
15 lines
1498 bytes
1498 bytes
In article <AFOIANI.91Jun11125310@hobbes.nmsu.edu>, afoiani@nmsu (Anthony "Tkil" Foiani) writes: > >Try 'umask 077'. The umask is xored with the type of the file [666 >for text, 777 for executable. Actually, it's not an XOR operation, but a complementary AND. The bits which are set in the UMASK are the ones which will be TURNED OFF on the file. An XOR would mean open mode 666 and umask 077 would yield mode 611, instead of 600. Instead, the system takes the complement of the UMASK, and ANDs that with whatever the program requested on the open.$$ -- INET: mrl@uai.com UUCP: uunet!uaisun4!mrl PSTN: +1 213 822 4422 USPS: 7740 West Manchester Boulevard, Suite 208, Playa del Rey, CA 90293 WANT: Succinct, insightful statement to occupy this space. Inquire within.
Technical Details
Message-ID:
<1991Jun13.212045.1368@uai.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!uaisun4!mrlReferences:
<2141.9106110915@seq.hull.ac.uk> <AFOIANI.91Jun11125310@hobbes.nmsu.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,b8c1cc5a2de7d3ed X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-06-14 04:20:24 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!uaisun4!mrl From: mrl@uai.com (Mark R. Ludwig) Newsgroups: gnu.emacs.help Subject: Re: Default filemode in GNU Emacs, how? Message-ID: <1991Jun13.212045.1368@uai.com> Date: 13 Jun 91 21:20:45 GMT References: <2141.9106110915@seq.hull.ac.uk> <AFOIANI.91Jun11125310@hobbes.nmsu.edu> Sender: mrl@uai.com (Mark R. Ludwig) Reply-To: mrl@uai.com (Mark R. Ludwig) Organization: Universal Analytics, Inc., Playa del Rey (LA), CA Lines: 15 In-Reply-To: afoiani@nmsu.edu (Anthony "Tkil" Foiani)