Article View: gnu.emacs.help
Article #188898Default filemode in GNU Emacs, how?
From: Simon Marshall
Date: Tue, 11 Jun 1991 09:15
Date: Tue, 11 Jun 1991 09:15
18 lines
1384 bytes
1384 bytes
Klaus Harbo (harbo@rimfaxe.diku.dk) writes:
| When I create a file, its filemode is automatically set to 644. However, I
| would like it to default to 600 instead, but how?
Emacs creates a file via the usual Unix system calls, which use
the value of "umask" for the file's permission bits. To make it 600,
put "umask 600" in your ~/.cshrc or equivalent. To find out what it
is, just type "umask".
Both harbo@rimfaxe.diku.dk and harbo@euromath.dk bounce from here.
Simon.
_______________________________________________________________________________
Simon Marshall, Dept. of Computer Science, University of Hull, Hull HU6 7RX, UK
"``La la la la la la la la la'' means I love you."
Email: S.Marshall@Hull.ac.uk Phone: +44 482 465951 (office) Fax: 466666
Technical Details
Message-ID:
<2141.9106110915@seq.hull.ac.uk>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!mips!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!sequent.cc.hull.ac.uk!sm2Show 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-11 13:13:12 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!mips!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!sequent.cc.hull.ac.uk!sm2 From: sm2@sequent.cc.hull.ac.uk (Simon Marshall) Newsgroups: gnu.emacs.help Subject: Default filemode in GNU Emacs, how? Message-ID: <2141.9106110915@seq.hull.ac.uk> Date: 11 Jun 91 09:15:59 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 18