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

Re: UPG and the default umask



Vincent Danjean wrote:
> I'm happy with this move. However, there is still an interaction with ssh
> to deal with:
> vdanjean@eyak:~$ chmod -Rv g+w .ssh/authorized_keys
> vdanjean@eyak:~$ ssh localhost
> vdanjean@localhost's password:
> And, in /var/log/auth.log:
> May 14 09:42:17 eyak sshd[1618]: Authentication refused: bad ownership or modes for file /home/vdanjean/.ssh/authorized_keys
> 
> vdanjean@eyak:~$ chmod -Rv g-w .ssh/authorized_keys
> le mode de « .ssh/authorized_keys » a été modifié en 0644 (rw-r--r--).
> vdanjean@eyak:~$ ssh localhost
> You have mail.
> Last login: Tue May 11 17:10:30 2010
> vdanjean@eyak:~$
> 
> My system is in UPG but I was using default umask 022

FWIW, for openssh this is supposed to be fixed in version 1:4.1p1-3.
See #314347. It was changed to allow group-writable files if
the owner is the only member in the group.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: