Home » Questions » Computers [ Ask a new question ]

file permissions and group ownership using sftp

file permissions and group ownership using sftp

Is there a way to have all files created by a particular user under sftp to have a specific group and file permissions? The user in question, of course, will be a member of the group, but it is not his primary group. In other words, is there a way for sftp to automatically duplicate the effects of umask and newgrp?

Asked by: Guest | Views: 25
Total answers/comments: 1
Guest [Entry]

"chmod g+s directory
Will grant ownership to the user's group for all directories & files created in the future."