Tag Archives: ssh

[转贴] sftp transport: do not chmod a dir when unecessary (fix suid and sgid problems).

转贴自:https://lists.ubuntu.com/archives/bazaar/2008q3/044037.html Hi, After discussions with John Arbash Meinel (who I’d like to thank for his help) on #bzr, I am submitting this patch. The problem is that, with the sftp protocol, any chmod will erase the suid or sgid bits. This can be a problem when the sgid bit is used to enable sharing among [...]

Follow

Get every new post delivered to your Inbox.