[dolphin] [Bug 493283] Dophin does not honor user's UMASK

argonel bugzilla_noreply at kde.org
Thu Sep 19 00:41:19 BST 2024


https://bugs.kde.org/show_bug.cgi?id=493283

--- Comment #3 from argonel <argonel at gmail.com> ---
That won't work in Fedora because the desktop session creation doesn't involve
a shell, and the umask command only affects the current process and its
descendants. There are various other options like creating a systemd override,
but Fedora 40 has pam_umask enabled.

To use pam_umask, the umask should go after the fourth value in the GECOS field
in the user's entry in /etc/passwd, for example:

    f40_vm:x:1000:1000:F40 Test,,,,umask=0002:/home/f40_vm:/bin/bash

As far as I know there aren't any tools that can manipulate the 5th and later
values in the GECOS list, so you'll have to edit it manually. pam_umask doesn't
care, but the umask directive might get displayed in unexpected places if its
earlier in the list.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list