Or you can try using FACL - Ray Pittigher --Exelis Inc, Clifton NJ --phone 973-284-2275 --email raymond.pittigher@xxxxxxxxxxxxx ________________________________________ From: users-bounces@xxxxxxxxxxxxxxxxxxxxxxx [users-bounces@xxxxxxxxxxxxxxxxxxxxxxx] on behalf of Matthew Miller [mattdm@xxxxxxxxxxxxxxxxx] Sent: Tuesday, March 25, 2014 10:13 AM To: Community support for Fedora users Subject: Re: user and groups permissions On Tue, Mar 25, 2014 at 02:35:57PM +0100, Rafnews wrote: > i'm trying to figure out what is the best approach for files and > folders permissions in case of a shared webserver. > we are 2-3 developers and we have a server on which we installed > Fedora 20 as web server for our development testing purpose. > all websites should be stored in /var/www/html/ directory > now let's say we are 2 devs called: "alain" and "francois" (those > are our fedora user accounts. > /var/www/html/ owner is root:root > now what should we do to allow each dev to use FTP and > created/delete/ modify files and folders to create website structure > should we create a group like and add into it devs ? That's a good idea, particularly at this scale. It's harder when you go up to dozens of developers. Change the directory to be owned and writable by the group, and use "chmod g+s" to set the bit which will make all new files created inside that directory also owned by that group. -- Matthew Miller -- Fedora Project -- <mattdm@xxxxxxxxxxxxxxxxx> -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org ________________________________ This e-mail and any files transmitted with it may be proprietary and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Exelis Inc. The recipient should check this e-mail and any attachments for the presence of viruses. Exelis Inc. accepts no liability for any damage caused by any virus transmitted by this e-mail. -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org