You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by joel grimes <jo...@hotmail.com> on 2002/09/11 00:32:50 UTC

[users@httpd] Beginner q. Who owns the files

After doing a default server install of redhat 7.3, i noticed that root owns 
the /var/www/html directory and pretty much all its content so I always have 
to ftp files into my home directory, then su, then copy them into the site's 
directory.

How can I avoid this?  should I change the owner of the directory and all 
the files to something else?  Who should ideally own all my site's files: 
root? apache? another user?

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Beginner q. Who owns the files

Posted by skull <sk...@drizzle.com>.
For me I change the all except the CGI and so on directories. The only
ones I change are under /var/www/html/user  other words anything that is
under the /html I change to the users name. I also made a group for WWW

Also anyone that runs and maintains APACHE I set the other directories
to them.
 
Skull Crusher ( Joe)
Slayer Networking And WebHosting
Network Administrator
http://slayernetworking.com
admin@slayernetworking.com
 

-----Original Message-----
From: joel grimes [mailto:joelgrimes@hotmail.com] 
Sent: Tuesday, September 10, 2002 3:33 PM
To: users@httpd.apache.org
Subject: [users@httpd] Beginner q. Who owns the files

After doing a default server install of redhat 7.3, i noticed that root
owns 
the /var/www/html directory and pretty much all its content so I always
have 
to ftp files into my home directory, then su, then copy them into the
site's 
directory.

How can I avoid this?  should I change the owner of the directory and
all 
the files to something else?  Who should ideally own all my site's
files: 
root? apache? another user?

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org