Re: Sshfs and umask

2017-10-18 Thread Sven Hartge
Paul van der Vlis wrote: > Op 18-10-17 om 17:31 schreef Sven Hartge: >> Paul van der Vlis wrote: >>> And adding "session optional pam_umask.so umask=0002" to >>> /etc/pam.d/sshd/ does change the umask for ssh, but not for sshfs. >> >>> Does somebody understand where it goed wrong? >> >> The um

Re: Sshfs and umask

2017-10-18 Thread Paul van der Vlis
Op 18-10-17 om 17:31 schreef Sven Hartge: > Paul van der Vlis wrote: > >> I try to force the umask of an sshfs on the server side. > >> I've tried /etc/ssh/sshd_config with for example: >> Subsystem sftp/usr/lib/openssh/sftp-server -u 0002 >> or: >> ForceCommand internal-sftp -u 0002 >

Re: Sshfs and umask

2017-10-18 Thread Sven Hartge
Paul van der Vlis wrote: > I try to force the umask of an sshfs on the server side. > I've tried /etc/ssh/sshd_config with for example: > Subsystem sftp/usr/lib/openssh/sftp-server -u 0002 > or: > ForceCommand internal-sftp -u 0002 > But this does not change the umask. > And adding "s

Sshfs and umask

2017-10-18 Thread Paul van der Vlis
Hello, I try to force the umask of an sshfs on the server side. I've tried /etc/ssh/sshd_config with for example: Subsystem sftp/usr/lib/openssh/sftp-server -u 0002 or: ForceCommand internal-sftp -u 0002 But this does not change the umask. And adding "session optional pam_umask.so umas