Results 1 to 2 of 2
I'm running Apache and proftpd on the Ubuntu Fiesty Fawn Server distro. I've got my DocumentRoot in Apache and my FTP server root set to /etc/apache2/htdocs. I created this folder, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-10-2007 #1
- Join Date
- Jan 2005
Permissions problem on web server
- 05-11-2007 #2
probably be several here say it is not a good idea to allow root to be able to ftp in and so forth. Besides being a security risk, it could also be some of the trouble. Some services are practically denied to root to keep the server from certain risks.
I am not certain on your paths also. I use Suse and allow it to set up a good deal of the paths for me through YaST. I make a partition on build-up just for www/ftp using /srv. Suse/Apache likes to put the files htdocs and cgibin in /srv/www/ and also ftp in /srv/ftp.
You may not be able to get full permissions to /etc.
I make a user for web and ftp then set it's home to /srv so it is chroot jailed there.
I am not positive it would stop you but root may not be able to own any of those folders at all.
I hope it helps some.