I installed a second hard drive hdb with hdb1 etc with a mount point
inside of my web server root. I had this working fine, until a power failure
disrupted things, and now I can't get it back.
The two vfat partitions are, for example mounted as /webstuff/newfiles1 and
/webstuff/newfiles2
With the second drive unmounted, the directories are owned by root and show
drwxr-xr-x and can be entered by apache. Of course they are empty, but with
indexes enabled I can 'see' them from the client.
When I do mount -a, the mount works, but they show drwxr--r-- and the
client gets error 403 forbidden.
Chmod apparently works chmod a+x newfiles1 gives mode changed to
rwxr-xr-x, but when I do ls-l the permissions did not change and the client
still can't get access.
From what I have done in the past months, it seems to be necessary to have
rwxr-xr-x on any directory so apache can access it. Is this correct?
Is there some way to change the permissions when a drive is mounted?
This is getting to me, because I had it working, and I don't recall having
this problem last week. I did have to change permissions on all the files on
hdb, but that was easily done. The drives are currently mounted rw, and I
verified that I can write to them as root.
Thanks
Stuart
>> Stay informed about: apache finding second hard drive