Red Hat Bugzilla – Bug 76673
mailer saves attachments with mode 600, doesn't use umask
Last modified: 2008-05-01 11:38:04 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
Description of problem:
All attachments are saved as mode 600 instead of using the default umask setting
of 002 and creating them as 660.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Save attachment and move it to public location.
Actual Results: Other users cannot read the attachments.
Expected Results: File should have group read permissions so others in the
group can read it.
This is an intentional design decision, and one shared by most MUAs. It's much
better to be restrictive in what you save and require explicitly changing the
permissions than to have somebody inadvertently leave mail world readable on a