Click to See Complete Forum and Search --> : Adding a User authority to a directory


jasontc
08-04-2001, 11:19 AM
I would like to give a user authority to save files in the /var/www/html directory. This way I do not have to log on as root everytime to add a web page to my server.

The examples of chmod which I have do not have what I'm looking for.

Any suggestions? Thanks.

anagathka
08-04-2001, 03:23 PM
Originally posted by jasontc:
<STRONG>I would like to give a user authority to save files in the /var/www/html directory. This way I do not have to log on as root everytime to add a web page to my server.

The examples of chmod which I have do not have what I'm looking for.

Any suggestions? Thanks.</STRONG>

Try setting the ownership of the directory through the chown command.

Related commands: chgrp and groups

Hope this helps.

Gray_Race
08-04-2001, 05:47 PM
If you wanted to give full read/write access to all users to that directory and all it's contents I would use this command:

chmod 777 -R /var/www/html