Patrick Shanahan wrote:
* John Meyer
[11-04-06 21:43]: Nope, still is giving me the same error, but it can read it's own /srv/www/ directory.
Patrick Shanahan wrote:
* John Meyer
[11-04-06 21:23]: Did that on and fsck checked out. Víctor Fernández wrote:
You have to unmount the partition before you can use fsck. Anyway we would need more details to help you. Is that just a directory or is there a symbolic link in the path to that directory? Is it inside the document root? If you switch to the user Apache is running with (probably wwwrun unless you've changed it) with "su", are you still able to read the files?
El Domingo, 5 de Noviembre de 2006 00:39, John Meyer escribió:
Patrick Shanahan wrote:
> * John Meyer
[11-04-06 17:52]: > > > >> I am getting an Access Forbidden Error 403 on my files, even though I >> have the directories (and subdirectories) set to drwxr-xr-x. >> >> >> > fsck -y /dev/<subject-partition> > > probably.... > > > Will read-only check consistency of the filesystem on /dev/sda5 Will put log info to 'stdout' ########### reiserfsck --check started at Sat Nov 4 16:39:16 2006 ########### Partition /dev/sda5 is mounted with write permissions, cannot check it fsck.reiserfs /dev/sda5 failed (status 0x10). Run manually! Then your problem is solved?
post the result of: ls -la /srv/ (as user) ls -la /srv/www/ ls -la /srv/www/htdocs/
grep \/srv /etc/fstab
grep \/srv /etc/fstab doesn't return anything, su or regular user total 0 drwxr-xr-x 6 root root 144 2006-11-04 20:00 . drwxr-xr-x 4 root root 96 2006-11-04 19:46 .. drwxr-xr-x 2 root root 208 2006-11-04 19:58 cgi-bin drwxr-xr-x 4 root root 128 2006-10-29 12:58 htdig drwxr-xr-x 5 root root 400 2006-11-04 20:00 htdocs drwxr-xr-x 2 root root 48 2006-05-02 03:48 perl-lib total 34 drwxr-xr-x 5 root root 400 2006-11-04 20:00 . drwxr-xr-x 6 root root 144 2006-11-04 20:00 .. -rw-r--r-- 1 root root 2205 2005-12-14 09:25 apache_pb22_ani.gif -rw-r--r-- 1 root root 2410 2005-12-14 09:25 apache_pb22.gif -rw-r--r-- 1 root root 1502 2005-12-14 09:25 apache_pb22.png -rw-r--r-- 1 root root 2326 2004-11-20 13:16 apache_pb.gif -rw-r--r-- 1 root root 1385 2004-11-20 13:16 apache_pb.png -rw-r--r-- 1 root root 302 2006-10-31 03:13 favicon.ico drwxr-xr-x 2 root root 208 2006-10-29 13:02 gif -rw-r--r-- 1 root root 44 2004-11-20 13:16 index.html drwxr-xr-x 7 root root 2392 2006-11-04 20:00 phpMyAdmin -rw-r--r-- 1 root root 26 2006-10-31 04:21 robots.txt drwxrwxrwx 5 root root 128 2006-11-04 18:04 sevenseals total 1 drwxr-xr-x 4 root root 96 2006-11-04 19:46 . drwxr-xr-x 23 root root 592 2006-11-04 20:08 .. drwxr-xr-x 2 root root 48 2006-04-22 19:51 ftp drwxr-xr-x 6 root root 144 2006-11-04 20:00 www