Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

firefox permissions on _files set to 755 although umask is 002

  • 5 valiny
  • 1 manana an'ity olana ity
  • 14 views
  • Valiny farany nomen'i fuffberry

more options

When a webpage is saved, it is saved as ~~._files The issue with this is probably specific to the Unix environment. The resulting ~~.html file is removable by anyone in the group (permissions xrwxrwx-r or 775). The resulting ~~._files directory cannot be removed by anyone in the group because it has permissions xrwx-rx-r or 755). umask of the owner is 002. It becomes a problem is someone in the group tries to move the saved webpage and it's associated files.

It's all acting as if the umask was a blend of 002 and 022.

When a webpage is saved, it is saved as ~~._files The issue with this is probably specific to the Unix environment. The resulting ~~.html file is removable by anyone in the group (permissions xrwxrwx-r or 775). The resulting ~~._files directory cannot be removed by anyone in the group because it has permissions xrwx-rx-r or 755). umask of the owner is 002. It becomes a problem is someone in the group tries to move the saved webpage and it's associated files. It's all acting as if the umask was a blend of 002 and 022.

All Replies (5)

more options

Please Refresh but do this 1st:

then

TEST....... If no issues then Extensions which need to be added back in 1 at a time and tested ..... Or it is your Profile : Make a new one and test ...:

If is your Profile :

Note: Any customization will revert back to default, you will also need to reinstall Extensions.

Please let us know if this solved your issue or if need further assistance.

more options

How might my bookmarks or profiles have any relevance to file permissions of the directory structure generated when firefox saves a complete webpage (File->Save page as)? Example, a save of this webpage as fireQuestion results in two entries: drwxr-xr-x 2 myid mygroup 4096 Dec 29 15:17 fireQuestion_files -rw-rw-r-- 1 myid mygroup 34934 Dec 29 15:17 fireQuestion.html

The contents of the directory fireQuestion_files is like: -rw-rw-r-- 1 myid mygroup 2949 Dec 29 15:17 0fb94b58617cabe.png -rw-rw-r-- 1 myid mygroup 177733 Dec 29 15:17 245873.js -rw-rw-r-- 1 myid mygroup 1559 Dec 29 15:17 bc6d00d7afd7.png -rw-rw-r-- 1 myid mygroup 107 Dec 29 15:17 a.html -rw-rw-r-- 1 myid mygroup 0 Dec 29 15:22 a.txt -rw-rw-r-- 1 myid mygroup 52655 Dec 29 15:17 common-min.css -rw-rw-r-- 1 myid mygroup 327385 Dec 29 15:17 common-min.js -rw-rw-r-- 1 myid mygroup 9378 Dec 29 15:17 djangojs.js -rw-rw-r-- 1 myid mygroup 22746 Dec 29 15:17 jqueryui-min.css -rw-rw-r-- 1 myid mygroup 161610 Dec 29 15:17 jqueryui-min.js -rw-rw-r-- 1 myid mygroup 2521 Dec 29 15:17 mozilla-logo.svg -rw-rw-r-- 1 myid mygroup 1515 Dec 29 15:17 print-min.css -rw-rw-r-- 1 myid mygroup 34680 Dec 29 15:17 questions-min.css -rw-rw-r-- 1 myid mygroup 67053 Dec 29 15:17 questions-min.js

The item giving trouble is the directory itself: drwxr-xr-x 2 myid mygroup 4096 Dec 29 15:17 fireQuestion_files write permission for the group is not present

more options

You may want to file a bug related to this behavior. The one I found from, ahem, 12 years ago, was closed when it was obsoleted by a code reorganization:

Bug 325334 umask is hard coded to 755 for directories when do save as complete web page

https://bugzilla.mozilla.org/enter_bug.cgi

more options

Thanks for the research, I have opened bug 1427394.

more options

the new bug has been marked a duplicate of 120679. Like bug 1427394, 120679 has been open a number of year.