Article View: gnu.emacs.bug
Article #98414Re: More on protections
From: Hamish Macdonald
Date: Thu, 08 Aug 1991 05:14
Date: Thu, 08 Aug 1991 05:14
39 lines
2297 bytes
2297 bytes
>>>>> On 7 Aug 91 01:44:26 GMT, >>>>> In message <9108070144.AA03046@brauer.harvard.edu>, >>>>> grabiner@zariski.harvard.edu (David Grabiner) wrote: David> This is another protection problem, related to the auto-save David> protection problem. With a umask of 022, I am editing a LaTeX David> file with permissions 600. When I run LaTeX from within Emacs, David> the file in /tmp is created with permissions 644, and I can't David> even protect the directory, as I can when I am editing a file. David> If a buffer is visiting a file, the protection of that file David> should be preserved when a new file containing its contents is David> created, whether this is an auto-save file or a temporary file. >>>>> On Wed, 7 Aug 1991 19:56:30 GMT, >>>>> In message <1991Aug7.195630.5324@watmath.waterloo.edu>, >>>>> I wrote: Hamish> Fixed for auto-save in emacs v19 Hmmph.. I should read a little more carefully. What I mean is that autosave *will* respect the permissions of the original file. Your problem here is something which could probably be fixed in the TeX code where it creates the file. I couldn't say whether or not it will be fixed in future versions of emacs. However, you can, at the moment, set the variable: TeX-directory's value is "/tmp/" Documentation: *Directory in which to run TeX subjob. Temporary files are created in this directory. and point it to a personal directory somewhere which already exists with the appropriate permissions. -- -------------------------------------------------------------- himacdonald@plg.uwaterloo.ca watmath!plg!himacdonald
Technical Details
Message-ID:
<1991Aug8.051442.12400@watmath.waterloo.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!plg.uwaterloo.ca!himacdonReferences:
himacdon@plg.uwaterloo.ca (Hamish Macdonald)Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,ea867a7b14f3a91d X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-08-07 22:14:42 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!plg.uwaterloo.ca!himacdon From: himacdon@plg.uwaterloo.ca (Hamish Macdonald) Newsgroups: gnu.emacs.bug Subject: Re: More on protections Message-ID: <1991Aug8.051442.12400@watmath.waterloo.edu> Date: 8 Aug 91 05:14:42 GMT References: himacdon@plg.uwaterloo.ca (Hamish Macdonald) Sender: gnulists@ai.mit.edu Distribution: gnu Organization: University of Waterloo, Waterloo, Ontario Lines: 39 Approved: bug-gnu-emacs@prep.ai.mit.edu