>From: Edward Ned Harvey >Sent: Monday, December 20, 2010 9:25 AM >Subject: RE: [zfs-discuss] a single nfs file system shared out twice with different >permissions > >> From: Richard Elling >> >> > zfs create tank/snapshots >> > zfs set sharenfs=on tank/snapshots >> >> "on" by default sets the NFS share parameters to: "rw" >> You can set specific NFS share parameters by using a string that >> contains the parameters. For example, >> >> zfs set sharenfs=rw=192.168.12.13,ro=192.168.12.14 my/file/system >> >> sets readonly access for host 192.168.12.14 and read/write access for >> 192.168.12.13. > >Yeah, but for some reason, the OP didn't want to make it readonly for different >clients ... He wanted a single client to have it mounted twice on two different >directories, one with readonly, and the other with read-write. > >I guess he has some application he can imprison into a specific read-only >subdirectory, while some other application should be able to read/write or >something like that, using the same username, on the same machine.
It is the same application, but for some functions it needs to use read-only access or it will modify the files when I don't want it to. Have a great day! Geoff _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss