You are not logged in.
Pages: 1
Hello:
I need to default to a diferent umask for make new dirs in thunar. I'm using Debian/stable, with xfce 4.3.99 and Thunar 0.4.0rc1. In this environment all new dirs maked with thunar comes with permissions: drwxr-xr-x (umask 022) and I need to change it to drwxrwxr-x per dafault (umask 002). I test the same in a Debian/testing box, and I get the same :-/.
For accomplish this problem, I try some diferent ways:
- Set umask 002 in ~/.bash_profile. This only works for the X-shells.
- Change the default umask in /etc/profile and in /etc/login.def. No works for thunar.
- Use libpam-umask as said in /etc/login.def. No works, but maybe I don't understand well how it works :-?.
- Tray to set umask 002 in: /usr/bin/startx, /usr/bin/startxfce4, ~/.config/xfce4/xinitrc ...
So, now I don't know how much can I try. There is some relation betwen my problem and Bug 3532 - Thunar mask restrictions on group and other (http://bugzilla.xfce.org/show_bug.cgi?id=3532)? (I don't understand well this one).
There is anybody that have change the default umask in thunar?. What's the trick?. Thanks in advance. Excuse my bad english. Greetings. Martintxo.
Offline
See this (maybe can resolve it):
Mailinglist:
http://foo-projects.org/pipermail/thuna … 04457.html
Ubuntu pach:
http://launchpadlibrarian.net/15574407/ … perms.diff
Thunar bugreport:
http://bugzilla.xfce.org/show_bug.cgi?id=3532
Offline
I just had a similar issue on Debian 12, in which all desktop programs were started with the default 022 umask, instead of the one configured in /etc/login.defs.
To make PAM and systemd use the value from /etc/login.defs, I had to add the following line to my /etc/pam.d/common-session file:
session optional pam_umask.so
...and after a reboot, my programs started from the XFCE session now use the umask configured in /etc/login.defs.
See https://unix.stackexchange.com/a/254923/55900 and https://unix.stackexchange.com/a/379329/55900 for more information.
Offline
Pages: 1
[ Generated in 0.008 seconds, 8 queries executed - Memory usage: 522.77 KiB (Peak: 523.61 KiB) ]