Permissions of the files and directory created by sftp-server.

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

 



Dear colleagues,

I want to draw your attention to this proposal:
https://github.com/openssh/openssh-portable/pull/351

This is to add two options (-m and -M) to sftp-server in order to force the
permission of the files and directory created by sftp-server. Some
applications have a requirement for the permission of the files and
directories which are created by the sftp-server.
Now, some permission can be excluded by -u option, but the base permission
comes from the original permission on the client side. And, it cannot be
controlled by the sftp-server side completely.

The -m option is for files, and the -M option is for directories.

The patch is partially implemented and as downstream in RH-based
distributions and works quite well.

-- 
Dmitry Belyavskiy
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux