emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#22650: closed (umask is 0000 when logging in over


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#22650: closed (umask is 0000 when logging in over SSH (with lshd running))
Date: Tue, 08 Mar 2016 22:35:02 +0000

Your message dated Tue, 08 Mar 2016 23:33:49 +0100
with message-id <address@hidden>
and subject line Re: bug#22650: guixSD default umask is 0000
has caused the debbugs.gnu.org bug report #22650,
regarding umask is 0000 when logging in over SSH (with lshd running)
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
22650: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22650
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: guixSD default umask is 0000 Date: Sat, 13 Feb 2016 09:36:35 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
out of the box, umask should default to something more typical.




--- End Message ---
--- Begin Message --- Subject: Re: bug#22650: guixSD default umask is 0000 Date: Tue, 08 Mar 2016 23:33:49 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
Alex Kost <address@hidden> skribis:

> 宋文武 (2016-03-07 18:18 +0300) wrote:
>
>> 于 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.
>
> I agree ("ArchLinux" also has "umask 022" in /etc/profile).

Done in 112024826d3283284654475a50ccef81c697e2c9.

Thanks for your feedback,
Ludo’.


--- End Message ---

reply via email to

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