Bob Goldberg <[EMAIL PROTECTED]> writes: > Package: rssh > Version: 2.3.2-2 > Severity: important > > my umask=007 in my rssh.conf. > my chroot jail is setup to offer ONLY SFTP; > when a user uploads a new file, instead of having mode=660, as one would > expect from this umask setting, it is set mode=640.
umask is a mask, not something that sets the permissions. The user can always upload something with more restrictive permissions than the umask. -- Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]