Closed Bug 87438 Opened 23 years ago Closed 23 years ago

Silent download should check for write permissions

Categories

(Core Graveyard :: File Handling, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 27609
mozilla1.0

People

(Reporter: coe, Assigned: law)

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.5-0.2.9 i686; en-US; rv:0.9.1)
Gecko/20010608
BuildID:    2001060810

If file is downloaded into non-owned directory, file is stored as usual in cache
directory, but fails silently during transfer from cache to destination
directory. There probably should be a check for legality at the file-name
selector stage.

Reproducible: Always
Steps to Reproduce:
1.chose remote download file
2.select download to file
3.select (accidentally read-only) directory

Actual Results:  File downloads as normal to cache. File appears to transfer (no
error diagnostics) to destination directory. Transfer dialoq box closes. Only
inspection shows downloaded file is missing.

Expected Results:  Checked destination directory for legality before starting
download
Assignee: asa → dougt
Status: UNCONFIRMED → NEW
Component: Browser-General → Networking: File
Ever confirmed: true
QA Contact: doronr → tever
Over to networking: file.  We start the download before we know the destination,
actually.  But checking on return from the filepicker seems like a great idea!
bill, sounds like this is yours.
Assignee: dougt → law
yeah there's mention in another bug that this code had absolutely no errror 
checking.  This is probably the third or fourth bug about the same code blocks 
:(
Can you give the exact steps, so I can mark dupes for different download 
methods?

timeless: what I want to do is create a bug for each filesystem behavior we 
neglect (write permission, disk full, quotas, etc), and then link a bug for each 
type of file transfer that is affected as a dependency, and then link everything 
else into those bugs as duplicates. I'm crusing through the component, but if 
you have favorites, lemme know.
QA Contact: tever → benc
Summary: Silent download failure into read-only directory → Silent download should check for write permissions
Target Milestone: --- → mozilla1.0
-> file
Component: Networking: File → File Handling
QA Contact: benc → sairuh

*** This bug has been marked as a duplicate of 27609 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
mass verification of duplicate bugs: to find all bugspam pertaining to this, set
your search string to "DuplicateBugsBelongInZahadum".

if you think this particular bug is *not* a duplicate, please provide a
compelling reason, as well as check a recent *trunk* build (on the appropriate
platform[s]), before reopening.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.