Hello Friends, Can some please let me know how I can disable ZFS ACL completely. I want to use ZFS with plain unix permission without ACL support thanks Sachin Palav This message posted from opensolaris.org
Sachin Palav wrote:> Hello Friends, > > Can some please let me know how I can disable ZFS ACL completely. I want to use ZFS with plain unix permission without ACL supportI''m really curious as to why you want to do that but it seems that ZFS allows you to do so. It is documented in the zfs(1) man page. zfs set aclinherit=discard <dataset> zfs set aclmode=discard <dataset> -- Darren J Moffat
Darren J Moffat wrote:> Sachin Palav wrote: > >> Hello Friends, >> >> Can some please let me know how I can disable ZFS ACL completely. I want to use ZFS with plain unix permission without ACL support >> > > I''m really curious as to why you want to do that but it seems that ZFS > allows you to do so. It is documented in the zfs(1) man page. > > zfs set aclinherit=discard <dataset> > zfs set aclmode=discard <dataset> > >Maybe I missed something? Is there something about ZFS ACL''s that does allow you to set them for the same effective behavior as ''unix permissions''? By default would anyone expecting and assuming ''unix permissions'' were in use even notice that ZFS was really using something else? Does ZFS ACL inheiritance support the same functionality that setting setgid on a directory did in ''unix permissions''? -Kyle -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080319/13a04c00/attachment.html>
Kyle McDonald wrote:> Darren J Moffat wrote: >> Sachin Palav wrote: >> >>> Hello Friends, >>> >>> Can some please let me know how I can disable ZFS ACL completely. I want to use ZFS with plain unix permission without ACL support >>> >> >> I''m really curious as to why you want to do that but it seems that ZFS >> allows you to do so. It is documented in the zfs(1) man page. >> >> zfs set aclinherit=discard <dataset> >> zfs set aclmode=discard <dataset> >> >> > Maybe I missed something? Is there something about ZFS ACL''s that does > allow you to set them for the same effective behavior as ''unix permissions''? >Yes, that should all work as expected.> By default would anyone expecting and assuming ''unix permissions'' were > in use even notice that ZFS was really using something else? >If you never set an explicit ACL then you should never notice that it is internally using an ACL.> Does ZFS ACL inheiritance support the same functionality that setting > setgid on a directory did in ''unix permissions''? >Inheriting setgid works.> -Kyle > > > > ------------------------------------------------------------------------ > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
We are using this server as NFS & SAMBA server, we created ZFS file systems considering it features. But un-fortunately we are experiencing problems with every NFS client (almost all version os UNIX (AIX/Linux/HP). So I have now set the server to use NFS version 2, as most of the NFS clients work fine on this version. But if I use NFS version 3 they give errors while writing/coping file to these NFS exported ZFS file systems. So I thought of disabling the ACLs completely and using plain unix permissions Below is the version Solaris 10 11/06 s10x_u3wos_10 X86 (install the latest path cluster and all the patches for ZFS). Thanks Sachin Palav This message posted from opensolaris.org
Sachin Palav wrote:> We are using this server as NFS & SAMBA server, we created ZFS file systems considering it features. But un-fortunately we are experiencing problems with every NFS client (almost all version os UNIX (AIX/Linux/HP). So I have now set the server to use NFS version 2, as most of the NFS clients work fine on this version. But if I use NFS version 3 they give errors while writing/coping file to these NFS exported ZFS file systems. So I thought of disabling the ACLs completely and using plain unix permissions > Below is the version Solaris 10 11/06 s10x_u3wos_10 X86 (install the latest path cluster and all the patches for ZFS). > > Thanks > Sachin Palav > >This issue was discussed in this thread http://www.opensolaris.org/jive/thread.jspa?messageID=214069𴐵 you need to apply patch 127729-02
that is my thread and I''m still having issues even after applying that patch. It just came up again this week. [locahost] uname -a Linux dv-121-25.centtech.com 2.6.18-53.1.14.el5 #1 SMP Wed Mar 5 11:37:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux [localhost] cat /etc/issue CentOS release 5 (Final) Kernel \r on an \m [localhost: /n/scr20] touch test [localhost: /n/scr20] mv test /n/scr01/test/ ** this is a UFS mount on FreeBSD mv: preserving permissions for `/n/scr01/test/test'': Operation not supported mv: preserving ACL for `/n/scr01/test/test'': Operation not supported mv: preserving permissions for `/n/scr01/test/test'': Operation not supported If I move it to the local /tmp, I get no errors. This message posted from opensolaris.org
kevin kramer wrote:> that is my thread and I''m still having issues even after applying that patch. It just came up again this week. > > [locahost] uname -a > Linux dv-121-25.centtech.com 2.6.18-53.1.14.el5 #1 SMP Wed Mar 5 11:37:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux > [localhost] cat /etc/issue > CentOS release 5 (Final) > Kernel \r on an \m > > [localhost: /n/scr20] touch test > [localhost: /n/scr20] mv test /n/scr01/test/ ** this is a UFS mount on FreeBSD > > mv: preserving permissions for `/n/scr01/test/test'': Operation not supported > mv: preserving ACL for `/n/scr01/test/test'': Operation not supported > mv: preserving permissions for `/n/scr01/test/test'': Operation not supported >Thats because the UFS mount doesn''t support NFSv4 ACLs and ''mv'' was unable to translate the ACL into an equivalent POSIX draft ACL.> If I move it to the local /tmp, I get no errors. > > > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Did you try mounting with nfs version 3? mount -o vers=3 On May 28, 2008, at 10:38 AM, kevin kramer wrote:> that is my thread and I''m still having issues even after applying > that patch. It just came up again this week. > > [locahost] uname -a > Linux dv-121-25.centtech.com 2.6.18-53.1.14.el5 #1 SMP Wed Mar 5 > 11:37:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux > [localhost] cat /etc/issue > CentOS release 5 (Final) > Kernel \r on an \m > > [localhost: /n/scr20] touch test > [localhost: /n/scr20] mv test /n/scr01/test/ ** this is a UFS mount > on FreeBSD > > mv: preserving permissions for `/n/scr01/test/test'': Operation not > supported > mv: preserving ACL for `/n/scr01/test/test'': Operation not supported > mv: preserving permissions for `/n/scr01/test/test'': Operation not > supported > > If I move it to the local /tmp, I get no errors. > > > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss