Bug 76673

Summary: mailer saves attachments with mode 600, doesn't use umask
Product: [Retired] Red Hat Linux Reporter: Don Himelrick <astrodon>
Component: evolutionAssignee: Jeremy Katz <katzj>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-10-24 20:36:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Don Himelrick 2002-10-24 20:36:16 UTC
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):


How reproducible:
Always

Steps to Reproduce:
1.Save attachment and move it to public location.
2.
3.
	

Actual Results:  Other users cannot read the attachments.

Expected Results:  File should have group read permissions so others in the
group can read it.

Additional info:

Comment 1 Jeremy Katz 2002-10-25 15:32:57 UTC
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
network filesystem.