On 01/19/2011 03:32 AM, Benjamin Franz wrote:

The generic way to do what you want is using group ownership. Put yourself in one group, the users in another and make the directories and files writable only by the owner,

Correction: You and the users should be in the same group. You can use the 'additional groups' feature for accounts, set the group ownership of the directory to the shared group,and set +s on the directory (chmod +s directory/) so that newly created files/and sub-directories will have the right group ownership.


readable by the group, and not readable or writable by anyone else. Use umask 0027 for the master account so that files and directories are created with the right permissions.

Depending on which FTP daemon you are using, you can also put users directly into readonly groups via its configuration options as well.


--
Benjamin Franz

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to