Explicit file permissions for sftp-server

Jim Knoble jmknoble at pobox.com
Fri Nov 5 16:27:28 EST 2010


Recommend filing patch in OpenSSH Bugzilla (https://bugzilla.mindrot.org/ 
) so it doesn't get lost.

-- 
jim knoble  |  jmknoble at pobox.com

On Nov 4, 2010, at 16:43, Rob C <candland at xmission.com> wrote:

> Hello again,
>
> Even with umask working (thanks very much!) I have found that I  
> require
> more control over file permissions with sftp-server/internal-sftp.
>
> Please see the attached patch.  It adds yet another option to
> sftp-server (-m) that will force file permissions.
>
> I have a been running a patched version of 5.6p1 under RHEL4 in
> production with no problems.  Please consider including this change or
> something similar in the next release.
>
> Please note that the attached patch is a diff from cvs version 1.92 of
> sftp-server.c
>
> Best regards and thanks again,
>
> Rob Candland
>
> -- 
> <openssh-forcefileperm.patch>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



More information about the openssh-unix-dev mailing list