[scponly] scponly and umask

Ken kbingham at booksurge.com
Tue Mar 31 12:47:58 EDT 2009


No, the sftpfilecontrol directives given in sshd_config do not have any
effect on the env vars of normal shell or scponly shell. Both have the
values:
> SFTP_UMASK=""
> SFTP_PERMIT_CHMOD="1"
> SFTP_PERMIT_CHOWN="1"

Ken Bingham
SysAdmin, Booksurge
(843) 760-8038 EST



Kaleb Pederson wrote:
> Thanks.
>
> Does it work correctly in a normal shell (e.g. disallow the users from
issuing chmod/chown)?
>
> In looking at the patch, with SFTP_PERMIT_CH{MOD,OWN}=1, it should
indeed allow the users to change owner and permissions, so I expect it
will allow the users to issue chmod/chown commands.
>
> --Kaleb




More information about the scponly mailing list