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?

Castaglia
  • 3,239
  • 3
  • 19
  • 40
EmpireJones
  • 358
  • 1
  • 4
  • 13

1 Answers1

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.

Andy Smith
  • 1,798
  • 13
  • 15