octal permissions
Thanks a lot for allowing octal permissions in WinSCP 3.1 - very handy. But two more things would be great:
- Please allow us to use permissions in this format for the upload options too.
- Please allow 4 digits for the octal code. This allows us to set the setgid bit which is not otherwise possible. For explanation of what the setgid bit is, see this link:
<invalid link removed>
Here are some excerpts from that page:
setgid bit on Directories
If you set the setgid bit on a directory (with chmod g+s directory), files created in that directory will have their group set to the directory's group.
To allow the users to actually create files in the directory you enter:
chmod 775 /usr/lib/emacs/site-lisp
But when a user creates a new file it is assigned the group of the user's default group (usually users). To prevent this you enter:
chmod 2775 /usr/lib/emacs/site-lisp
Thanks!!
- Please allow us to use permissions in this format for the upload options too.
- Please allow 4 digits for the octal code. This allows us to set the setgid bit which is not otherwise possible. For explanation of what the setgid bit is, see this link:
<invalid link removed>
Here are some excerpts from that page:
setgid bit on Directories
If you set the setgid bit on a directory (with chmod g+s directory), files created in that directory will have their group set to the directory's group.
To allow the users to actually create files in the directory you enter:
chmod 775 /usr/lib/emacs/site-lisp
But when a user creates a new file it is assigned the group of the user's default group (usually users). To prevent this you enter:
chmod 2775 /usr/lib/emacs/site-lisp
Thanks!!