Closed Bug 266849 Opened 20 years ago Closed 18 years ago

download manager fails to check write permissions.

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ross.cannizzaro, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041026 Firefox/1.0RC1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041026 Firefox/1.0RC1

Download path can bet set to a non-writable directory or drive. When downloading
completes, no file is generated/saved in the location and all data is lost.

Reproducible: Always
Steps to Reproduce:
1.
2. 
3.



Expected Results:  
Generated an error message dialog box before attempting to download the file.
WFM. I tried to download a file into a directory with write permissions set to
Deny. Firefox notified me that I do not have the sufficient privileges and asked
me whether I want to download the file to "My Documents" directory instead. 
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041029
Firefox/1.0RC1

WFM too. I also get the dialog saying that I don't have write permissions, and
do I want to save to My Documents instead. I set write permissions to deny to test.

Maybe it has to do with your specific allow/deny settings on a folder. Can you
explicity state what your permissons are for that folder so I can try to reproduce?
The default download directory on my machine is desktop, located under
c:\documents and settings\[username]\desktop. I have the permissions set
on this to deny for both "Create Files / Write Data" and "Create Folders/Append
Data". This is only set for the current user, who is under the users group. Note
that I never changed the default directory after installation.

(In reply to comment #2)
> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041029
> Firefox/1.0RC1
> 
> WFM too. I also get the dialog saying that I don't have write permissions, and
> do I want to save to My Documents instead. I set write permissions to deny to
test.
> 
> Maybe it has to do with your specific allow/deny settings on a folder. Can you
> explicity state what your permissons are for that folder so I can try to
reproduce?
Yes, the same thing happens when using firefox under GNU/Linux, specifically
fedora core 3.  

When I try to save a link into a directory that does not have write permissions,
it doesn't tell me that there's anything wrong, and it just downloads the link
(without writing it to the directory of course).  I think it should at least let
you know that you don't have write permissions for the destination directory,
and then abandon the save.
WFM with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050911
Firefox/1.0.6 (Debian package 1.0.6-5) and a current trunk build.
*** Bug 304158 has been marked as a duplicate of this bug. ***
QA Contact: ali → download.manager
Assignee: bugs → nobody
WFM, I get an error that the folder/file can't be written to.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.