Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
See: – Zoredache Aug 30 '11 at 0:04
and:… – quanta Aug 30 '11 at 2:13
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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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