Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 4 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
1  
No problem! :-) –  Andy Smith Dec 19 '10 at 1:44
    
This applies to all Linux flavors? –  Nicholas Tolley Cottrell Apr 25 '13 at 16:07
add comment

Your Answer

 
discard

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.