Le dimanche 16 à 7:22, Evangelos Foutras a écrit : > On Sat, Jan 15, 2011 at 10:11 PM, Béla Vizer <bela.vizer@xxxxxxxxx> wrote: >> I put .bashrc and /etc/profiles the follwoing line: >> umask 077 >> I tried to put it to /etc/gdm/Xsession, I created .gnomerc but nothing. >> Is it even possible to set a system-wide umask settings? > > Put it in ~/.bashrc, before the following line: > > [ -z "$PS1" ] && return GNOME is launched from a user shell, and one that wouldn't read /etc/profile ? Sounds strange... Béla: have you looked into pam_umask? -- Frédéric Perrin -- http://tar-jx.bz