"/var/www/html" permission question

Deepak Shrestha d88pak at gmail.com
Sat Aug 5 14:35:21 UTC 2006


> Two approaches you might consider would be:
>
> 1. Create a user account for your web data to be held under, change the
> ownership of /var/www/html to that user, and have your web designers use
> that account name and password when uploading their files from their
> windows machines to your web server. This is a fairly simple approach
> but it's difficult to tell who wrote which files.
>
> 2. Create a group account for your web data to be held under, and make
> each of your web designers' accounts a member of that group. Change the
> group ownership of /var/www/html to that group, and make it group
> writable. Make sure that whichever means you use to upload files to this
> area (e.g. FTP server) has an appropriate umask setting so that it
> writes files with the group write permission set. Each file uploaded
> will then be owned by the person that initially uploaded it, but can be
> overwritten by any other member of the group.
>
> Paul.
>

Thanks paul, this is what exactly I wanted to know.

Thanks again




More information about the fedora-list mailing list