> I am trying to ftp into my linux box to place a web page into
> /home/httpd/html directory no matter what I try access is denied
> (to copy a file I can read all I want .
> I tried chomod I changed user access user groups....
> what to I need to do to allow us to ftp in and upload the new
> web pages?

What I do is create a group called 'web', and then change the group
ownership of the /home/httpd directory and everything below it to the web
group.  I then chmod -R g+ws /home/httpd to give write permissions to web,
and make sure it retains the group ownership.  You will also have to set
your umask to 002 if you want the group permissions to be set correctly when
you add new directories and files.

Then, basically, anyone added to the 'web' group should automatically have
write access to the web server tree.

The umask change kind of makes me nervous, though.  If anyone has any better
ways of doing this, I'm interested in knowing as well.

--
Ben Reed a.k.a. Ranger Rick ([EMAIL PROTECTED])
http://defiance.dyndns.org/ / http://radio.scenespot.org/
Now playing on Defiance Radio: Rhubarb by Aphex Twin


Reply via email to