When a user "U" who is part of group "G" uploads a new file to the server with ftp , the permissions are set as U:U instead of U:G . I know the user is also part of his own group called "U" but how do I have them upload a file with the group "G". I don't see anyhthing in any FTP software. Thanks

link|improve this question

64% accept rate
See: serverfault.com/q/93894/984 – Zoredache Aug 30 '11 at 0:04
and: serverfault.com/questions/184548/… – quanta Aug 30 '11 at 2:13
feedback

1 Answer

up vote 1 down vote accepted

Generally you do this when you want all files in a directory to be owned by a certain group. To make this happen set the SETGID bit on the directory chmod g+s. Then any file created in that directory will belong to the group that is associated ith the parent directory.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.