Closed Bug 912426 Opened 11 years ago Closed 11 years ago

umask ignored for downloaded files

Categories

(Firefox :: Downloads Panel, defect)

26 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 919076

People

(Reporter: devel, Unassigned)

References

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release) Build ID: 20130903030201 Steps to reproduce: 1. Set umask to 0022 2. download any file (e.g. a pdf file) to Downloads directory 3. list permissions Actual results: $ ls -al pdf-test.pdf -rw------- 1 freundt users 20597 2013-09-04T09:57:19 pdf-test.pdf Expected results: $ ls -al pdf-test.pdf -rw-r--r-- 1 freundt users 20597 2013-09-04T09:57:19 pdf-test.pdf in words: the permissions should have been 0644
Component: Untriaged → Downloads Panel
Bug presents since Firefox/24.0 (arch linux)
Confirmed and a very bad issue for multi-user environments. Users are downloading files that cannot be opened by other people, it's not honoring the umask of the shell.
I also have this issue and its an annoyance. Firefox 24, x64, Slackware Linux 14.
We really need to track down what regressed this.
Is it bug 919076 ?
In local build, Last Good: 43c0123f158b First Bad: b6cce1e41253 Regressed by: b6cce1e41253 Monica Chew — Move execution from nsExternalAppHandler to nsDownload (b=858234, r=paolo)
Blocks: 858234
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.