I am trying to give a general user permissions to create zfs filesystems in the rpool. zpool set=delegation=on rpool zfs allow <user> create rpool both run without any issues. zfs allow rpool reports the user does have create permissions. zfs create rpool/test cannot create rpool/test : permission denied. Can you not allow to the rpool? -- This message posted from opensolaris.org
Hi Mark, A couple of things are causing this to fail: 1. The user needs permissions to the underlying mount point. 2. The user needs both create and mount permissions to create ZFS datasets. See the syntax below, which might vary depending on your Solaris release. Thanks, Cindy # chmod A+user:cindys:add_subdirectory:fd:allow /rpool # zfs allow cindys create,mount rpool # su - cindys % /usr/sbin/zfs create rpool/cindys On 07/28/10 11:23, Mike DeMarco wrote:> I am trying to give a general user permissions to create zfs filesystems in the rpool. > > zpool set=delegation=on rpool > zfs allow <user> create rpool > > both run without any issues. > > zfs allow rpool reports the user does have create permissions. > > zfs create rpool/test > cannot create rpool/test : permission denied. > > Can you not allow to the rpool?
Thanks adding mount did allow me to create it but does not allow me to create the mountpoint. -- This message posted from opensolaris.org
Mike, Did you also give the user permissions to the underlying mount point: # chmod A+user:user-name:add_subdirectory:fd:allow /rpool If so, please let me see the syntax and error messages. Thanks, Cindy On 07/28/10 12:23, Mike DeMarco wrote:> Thanks adding mount did allow me to create it but does not allow me to create the mountpoint.