I have two servers (A and B), one whose role is a file server (B). It has
the /home filesystem. The other server (A) mounts the /home directory from
this server.
I'm having problems with security when trying to access these files from A.
When I am root, and do a
ls /home/gerry -l
command, I get a lot of permissions denied. The other thing is I have
Apache running on A. I have set up a public_html directory in my home
directory. I used to be able to access these files via the web server, but
now I always get "permission denied" errors.
Here is what "mount" shows:
dataserver:/home on /home type nfs
(rw,rsize=1024,wsize=1024,hard,intr,addr=192.168.0.3)
One other thing: when I shutdown or restart A, and it attempts to unmount
/home, I get a
"Cannot MOUNTPROG RPC: RPC: Program not registered"
How can I get around this?
Setup:
1. both servers have the same passwd, shadow, group, gshadow files.
2. the mount command in fstab is
3. the 'other' attribute on all files and directories in the public_html
folder is set to read-only.
Information System Specialist,
Mennonite Central Committee
Bangladesh