🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #123

Re: VM problem?

#123
From: Marwan Shaban
Date: Thu, 12 Nov 1992 22:52
30 lines
1511 bytes

Kyle Jones (kyle@crystal.wonderworks.com) writes:

> >>>>> "Marwan" == Marwan Shaban <shaban@cs.bu.edu> writes:
> 
> Marwan> If ~/INBOX exists when I read my mail, everything is normal, but
> Marwan> if ~/INBOX does not exist when I read mail (e.g. I am reading
> Marwan> newly arrived mail, and I have no saved mail), then after I quit
> Marwan> VM, the ~/INBOX~ (notice the last tilde) file is saved with
> Marwan> global read permissions, even though my umask is 077.
> 
> I haven't been able to come up with a scenario where this could
> occur assuming modern versions of Emacs and VM.  By modern in
> this case I mean at least version 4.09 for VM, since it's been
> chmod'ing the primary INBOX to 600 for that long.  The backup
> file mode should match that of the primary file; it does for
> version 18.58 of Emacs at least.


Kyle,

I just discovered the cause of the problem.  It was unrelated to VM
and emacs.  The cause was that I was calling emacs directly from my
.Xsession file which meant that emacs wasn't using the umask of 077
contained in my .tcshrc file.

Thanks again for your response,

- Marwan
Technical Details
Message-ID: <9211122252.AA16382@cs.bu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!wendy-fate.uu.net!bug-vm

Show Full Headers
Complete Article Headers
x-gateway: rodan.UU.NET from bug-vm to gnu.emacs.vm.bug; Thu, 12 Nov 1992 17:53:22 EST
From: shaban@cs.bu.edu (Marwan Shaban)
Date: Thu, 12 Nov 1992 17:52:59 -0500
Message-ID: <9211122252.AA16382@cs.bu.edu>
Subject: Re: VM problem?
Newsgroups: gnu.emacs.vm.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!wendy-fate.uu.net!bug-vm
Sender: bug-vm-request@uunet.uu.net
Lines: 31