Solaris 2.2, patch 100999-17 installed: I get a "Not owner" error when
e.g. trying to open a null device for writing if the device is on an NFS
filesystem:
# mount
/ on /dev/dsk/c0t3d0s0 read/write/setuid on Fri Aug 13 14:38:10 1993
...
/usr/local/scratch on super:/usr/local/scratch read/write/setuid/remote on Wed Aug 18 13:44:12 1993
# mknod /null c 13 2
# mknod /usr/local/scratch/null c 13 2
# chmod 666 /null /usr/local/scratch/null
# chown per /null /usr/local/scratch/null
# suspend
Stopped (signal)
% ls -l /devices/pseudo/mm:null /null /usr/local/scratch/null
crw-rw-rw- 1 root sys 13, 2 Aug 18 12:48 /devices/pseudo/mm:null
crw-rw-rw- 1 per other 13, 2 Aug 18 13:44 /null
crw-rw-rw- 1 per other 13, 2 Aug 18 1993 /usr/local/scratch/null
% echo xxx >/null
% echo xxx >/usr/local/scratch/null
/usr/local/scratch/null: Not owner
% whoami
per
%
Same thing appears to happen for all devices, pseudo or not. It works
fine for root. This would seem to be a problem for diskless clients...?
Patches, comments, explanations welcome!
--Per Hedeland
...uunet!erix.ericsson.se!per