After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 516429 - umask ignored by nautilus
umask ignored by nautilus
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: File and Folder Operations
3.2.x
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 529825 669940 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-02-14 11:59 UTC by Luis Uria
Modified: 2021-06-18 15:32 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Luis Uria 2008-02-14 11:59:48 UTC
Please describe the problem:
If I create a file, or directory from the terminal, it is created with correct
permissions. However, every time I try to create from Nautilus, the file is
created with 755 permissions, no matter what umask says.

The problem is from Nautilus only (I think), because with terminal, and other
file managers (Konqueror, Thunar), they read and apply my umask conf.

I also tried and rechecked the location of umask command (.bashrc,
.bash_profile, and so on) with same results.

Hope someone could fix it.

Regards!!

Steps to reproduce:
1. set umask a non-default values
2. create file or directory
3. permissions are always 755 for files and directories


Actual results:
Files and directories are created with default permissions (755)

Expected results:
Files and directories created applying my umask value

Does this happen every time?
Yes

Other information:
It happens in local or network filesystems.
Comment 1 Alexander Konovalenko 2008-03-31 16:43:34 UTC
Thanks for the bug report. It looks like this bug has already been reported (see bug #459734). Is there any difference between the problem you see and that described in bug 459734?

Please feel free to report any further bugs you find.
Comment 2 Alexander Konovalenko 2008-03-31 18:21:28 UTC
Oh, I didn't notice that the bug 459734 was filed against gnome-commander and this one is about nautilus. So this bug is NOT a duplicate. Sorry for the confusion.
Comment 3 Luis Uria 2008-03-31 18:24:15 UTC
Hi!!

Thanks for your answer.

No, there is no difference between those bugs. This is for nautilus and the other is set under gnome-commander product (I don't know if it's big difference).

I also set a comment in the other bug you mentioned.

This bug is awful... makes nautilus unusable in enterprise enviroments...

Hope it could be fixed.

Thanks!!
Comment 4 Luis Uria 2008-03-31 18:26:19 UTC
Hey!! I post three seconds after you sorry... 
Comment 5 Morgan LEFIEUX 2008-05-21 07:30:34 UTC
Same problem here. This bug is very borring when using Gnome in production, it's simply impossible. I hope it will be fixed soon.
Comment 6 Andrew Clayton 2008-05-22 13:48:24 UTC
Interestingly the nautilus in Fedora 8 (nautilus-2.20.0-9.fc8.x86_64) doesn't have this problem. However the nautilus in Fedora 9 
(nautilus-2.22.2-7.fc9.x86_64) does.

FWIW gnomevfs-mkdir does the right thing on both Fedora 8 & 9.
Comment 7 Cosimo Cecchi 2008-05-28 00:18:45 UTC
*** Bug 535124 has been marked as a duplicate of this bug. ***
Comment 8 Cosimo Cecchi 2008-05-28 00:19:44 UTC
*** Bug 529825 has been marked as a duplicate of this bug. ***
Comment 9 Cosimo Cecchi 2012-02-14 19:29:10 UTC
*** Bug 669940 has been marked as a duplicate of this bug. ***
Comment 10 Christian Stadelmann 2015-12-18 15:30:19 UTC
Same problem here. Also affects creation of folders and creating templates.
Comment 11 André Klapper 2021-06-18 15:32:19 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of Files (nautilus), then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/nautilus/-/issues/

Thank you for your understanding and your help.