NFS root mount not quite right

From: Bennet Fauber <bfauber_at_ucdavis.edu>
Date: Sun, 06 Feb 2000 16:17:37 -0800

Hello,

All machines are running DU4.0D, PK5.

I have one NFS mount that doesn't seem to be granting root access to the
root account of just one other machine, and I'm wondering where to look for
a solution.

On machine A, I have the following in /etc/exports

/usr/var/spool/mail -access=dom-all,root=B.dom:C.dom

On machines B and C, I have the following in /etc/fstab

A:/usr/var/spool/mail /usr/var/spool/mail nfs rw,bg,intr 0 0

On machine C, after "su -", I can change to the now NFS mounted
/usr/var/spool/mail, and a "tail -1 user" succeeds.

On machine B, however, after "su -", I change to the now NFS mounted
/usr/var/spool/mail, and a "tail -l user" fails with a "user: Permission
denied" message. Further, a "tail -l root" also fails with the same
message, even though the file named root is listed as being owned by root.

On both machines, an "su user" followed by a "tail -1 user" succeeds (where
the file user is owned by user).

Machine B, the trouble maker, has root privileges to NFS mounted volumes on
machine C htat work, and machine A has root privileges to NFS mounted
volumes on machine B that work.

To test whether this was a problem with machine A in general, I added a
line to /etc/exports on machine A

/mnt -access=dom-all,root=B.dom

changed the permissions on /mnt to match those on /usr/var/spool/mail,
created a file with the same permissions as one of the files from
/usr/var/spool/mail, then mounted this from machine B, and lo, "tail -1
file" succeeds. So, it appears to be something specific to the
/usr/var/spool/mail directory or mount not something that is generally
applicable to machine A.

/usr/var/spool/mail is an advfs filesystem on machine A, with the following
entry in /etc/fstab

mail_dmn#mail1 /usr/var/spool/mail advfs rw 0 0
root_domain#root / advfs rw 0 0

Does anyone have an idea what might be going on here?

Thanks, -- Bennet
<----- oOo ----->
Bennet Fauber
Social Science Data Service
University of California, Davis
Received on Mon Feb 07 2000 - 00:18:26 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT