Help - Search - Members - Calendar
Full Version: Making All Create Files Have Certain
Linuxhelp > Support > Technical Support
Termina
When anyone makes a file in proftp or ssh/scp, I'd like the following to happen:

group owner: (chgrp nobody file)
permissions: (chmod 770)


I know I can do something in profiles with umask (and in proftp with umask), but what umask is the equivilent of chmod 770, and how can I get every new file to have be owned by the "nobody" group?
hughesjr
I don't know how to make the group be nobody on creation ... but the umask that want to set is:

umask = 0007

If each user has a .bash_profile, you can set it in there for sftp / ssh ...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.