bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22650: guixSD default umask is 0000


From: 宋文武
Subject: bug#22650: guixSD default umask is 0000
Date: Mon, 07 Mar 2016 23:18:48 +0800
User-agent: K-9 Mail for Android

于 2016年3月7日 GMT+08:00下午8:18:44, address@hidden 写到:
address@hidden (Ludovic Courtès) skribis:

myglc2 <address@hidden> skribis:

address@hidden ~$ ssh address@hidden
address@hidden's password:
address@hidden ~$ umask
0000

Oh indeed, I can reproduce it.

The problem is that lshd resets the umask when it starts (in
src/daemon.c:daemon_init) but never changes it again.

Perhaps we should be using pam_umask and login.defs (although I’m unsure
if lshd would honor it), or alternately add explicitly set the umask in
/etc/profile.

Thoughts?

宋文武 & Alex: WDYT? (Asking you since I know you’re already familiar
with these things. :-))

Ludo’.

I never pay attention to umask, but set it in /etc/profile seem the right thing to me. IIRC, debian and exherbo set it in there too.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]