Re: "/var/www/html" permission question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux