Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

How do I set the default group for a vsftpd user's uploads?

When I upload a file, the files group is set to the username... How do I get it to automatically set to a specific group?

share|improve this question
up vote 7 down vote accepted

Easiest way to do it would be to set the directory's group to the group you want, and then set the sticky group bit on the directory with chmod g+s.

share|improve this answer
Awesome. Worked perfectly - thanks! – EmpireJones Dec 19 '10 at 1:33
No problem! :-) – Andy Smith Dec 19 '10 at 1:44
This applies to all Linux flavors? – Nic Cottrell Apr 25 '13 at 16:07

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.