10

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?

16

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.

| improve this answer | |
  • make sure that you do it as sudo no errors are displayed if the command is run as non sudo. – Clain Dsilva Aug 31 '17 at 18:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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