<<< Date Index >>>     <<< Thread Index >>>

Re: saving attachments with 0644 permissions



On Thu, Mar 02, 2006 at 12:49:14PM +0100, Keld Jørn Simonsen wrote:
> Hi!
> 
> When I save attachments of mail, or mails in general, they
> get permission 0600 - I would like that to be 0644.
> How can I do that?

You can't; it's a security feature.  Use the chmod command to change
them if you really want everyone to be able to read them.  Setting to
0644 by default is like letting everyone read your mail.  Maybe you
really do want to do that, but it's a bad idea for a default setting.

On Thu, Mar 02, 2006 at 08:23:39AM -0800, Jason Helfman wrote:
> Couldn't you just change your shell login environmnet to hardcode a
> umask?

No... the umask call in mutt happens after the shell sets its umask,
overriding it.


-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.

Attachment: pgph9CrcBkgsH.pgp
Description: PGP signature