Yes, you were correct, I chown zp-ext/test/mfitzpat and tried to mount
/zp-ext/test
When I mounted /zp-ext/test/mfitzpat on the remote linux system, as
/fs/mfitzpat
I get the correct permissions and I can create new files/dirs.
[mfitz...@nona-man test]$ ls -l
total 4
drwxr-xr-x+ 2 mfitzpat umass 2 May 3 12:42 bar
-rw-r--r--+ 1 mfitzpat umass 0 May 3 12:41 foo
-rw-r--r--+ 1 mfitzpat umass 0 May 3 13:10 foo.1
I want to use autofs on the remote clients, as I have many dirs that
need to be exported from /zp-ext/test/*
Here is the auto.home on the client, as setup for the user mfitzpat. I
really do not want to edit the auto.home file for each user.
mfitzpat -rw,hard,intr hecate:/zp-ext/test/mfitzpat
Is there a way to set permissions so that the /etc/auto.home file on the
clients does not list every exported dir/mount point?
Thanks for your help
Mary Ellen
Paul B. Henson wrote:
On Thu, 29 Apr 2010, Mary Ellen Fitzpatrick wrote:
hecate:/zp-ext/test> zfs get sharenfs zp-ext/test/mfitzpat
[...]
hecate:/zp-ext/test> chown -R mfitzpat:umass mfitzpat
[...]
test -rw,hard,intr hecate:/zp-ext/test
[...]
drwxr-xr-x+ 2 root root 2 Apr 29 11:15 mfitzpat
Unless I'm missing something, you chown'd the filesystem
zp-ext/test/mfitzpat but you mounted the filesystem zp-ext/test; hence
you're seeing the mount point for the mfitzpat filesystem in the
zp-ext/test filesystem over NFS, not the actual zp-ext/test/mfitzpat
filesystem.
Pending the availability of mirror mounts
(http://hub.opensolaris.org/bin/download/Project+nfs-namespace/files/mm-PRS-open.html)
you need to mount each ZFS filesystem you're exporting via NFS separately.
--
Thanks
Mary Ellen
Mary Ellen FitzPatrick
Systems Analyst
Bioinformatics
Boston University
24 Cummington St.
Boston, MA 02215
office 617-358-2771
cell 617-797-7856
mfitz...@bu.edu
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss