Open Bug 716221 Opened 13 years ago Updated 2 years ago

file permissions are 0600 after a resumed paused download, 0644 else

Categories

(Toolkit :: Downloads API, defect)

x86_64
Linux
defect

Tracking

()

People

(Reporter: kdevel, Unassigned)

Details

User Agent: Steps to reproduce: 1. Start a download of a file (large enough to have the time to perform the next two operations). 2. Pause download. 3. Resume download. Actual results: 1. After dl the file permissions are 0600. Expected results: File permissions are same regardless of whether dl has been paused/resumed.
OS: Other → Linux
Hardware: Other → x86_64
Status: UNCONFIRMED → NEW
Component: Untriaged → File Handling
Ever confirmed: true
Product: Firefox → Core
QA Contact: untriaged → file-handling
Didn't guess the component correctly: turns out we have code in the download manager for the pause/resume case, that tries (and fails in this case) to mimic what the nsExternalHelperAppService does. Nice! http://hg.mozilla.org/mozilla-central/annotate/bbe5086163c9/toolkit/components/downloads/nsDownloadManager.cpp#l2762 http://hg.mozilla.org/mozilla-central/annotate/bbe5086163c9/uriloader/exthandler/nsExternalHelperAppService.cpp#l1890
Component: File Handling → Download Manager
Product: Core → Toolkit
QA Contact: file-handling → download.manager
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.