Closed Bug 186764 Opened 22 years ago Closed 22 years ago

Download manager saves files with restrictive permissions and no opportunity to adjust this

Categories

(SeaMonkey :: Download & File Handling, defect)

x86
FreeBSD
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 124307

People

(Reporter: wmoran, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021127
Build Identifier: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021127

Each aspect of Mozilla seems to handle file permissions differently.  When I
save an email as a file, it has rw-rw-r--.  When I Save a web page, it has
rw-r--r--.  The most annoying, however, is that downloads handled by the
download manager are saved as rw-------.
I've set the umask in my shell so the default permisions should be rw-rw-r--,
but Mozilla doesn't seem to honor this, and I can find no place in Mozilla's
configuration to adjust the default permissions.

Reproducible: Always

Steps to Reproduce:
1. Click on a URL that invokes the download manager
2. Check the permissions of the file after the download is complete
3. Repeat the steps by saving an email, or saving a web page.

Actual Results:  
Permissions are as described in the "Details section"

Expected Results:  
I feel that this should be user-configurable.  With Mozilla being
cross-platform, I can understand that it's a little difficult to implement, but
something would be nice.  Barring that possibility, the behaviour should be
consistent.
If there's already a config option in preferences, the title should either read
"config difficult to find" or "bug reporter is blind" and I apoligize for the noise.

This is definately not a show-stopper, but it's annoying as hell, since I d/l a
lot of files for the development team that get saved on the server - and then I
get bitched at because I forget to reset the permissions :(
This is basically a security precaution necessitated by some issues in the 
overall download architecture...  (and yes, the real fix is to fix those issues 
instead).

*** This bug has been marked as a duplicate of 124307 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.