On Sat, Jun 13, 2015 at 09:59:40PM -0700, Tom Fowle wrote: > Greetings all, > Not sure if this may be a debian problem but---- > > I often save individual incomming emails in seperate files in my home > directory with the mutt "s" command. > > In any session, the first time I save to a particular file it goes fine. > > However if I try to save another message to the same file, I get > "Permission denied." > > checking the permission of the file it is > -rw- --- --- > > I can, of course open another console and chmod to correct this without > leaving mutt, > but I don't recall this problem with my previously installed old fedora. > > It appears???? the default debian umask should be 622 not 600, but > getumask > gets command not found. > I second Ian's comments regarding check ownership and mutt user problems first. But if you do look at umask two points.
I know of no "getumask", but the umask command itself will report the current setting. Umask is the modes you do NOT want set on new files. So the umask that created -rw------- is 066 (for ordinary files 077 would work too but directory creation would be different). -- Jon H. LaBadie j...@jgcomp.com 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (703) 935-6720 (C)