Dave Koelmeyer
2008-May-14 23:42 UTC
[zfs-discuss] ZFS and viewing ACLs / OpenSolaris 2008.05
Hi All, first time caller here, so please be gentle... I''m on OpenSolaris 2008.05, and following the really useful guide here to create a CIFs share in domain mode: http://blogs.sun.com/timthomas/entry/configuring_the_opensolaris_cifs_server Works like a charm. Now, I want to be able to view the ACLs of files and directories created in my shared pool, a la: http://dlc.sun.com/osol/docs/content/ZFSADMIN/gbace.html That help page says I can view ACLs by doing ls -v <file>, but no matter what I try I cannot view anything ACL related: What I get instead is: dave at enigmaforce:/tank/stuff# ls -l total 2 drwxrwxrwx 3 2147483649 2147483650 3 2008-05-14 18:37 New Folder -rw-r--r-- 1 root root 0 2008-05-14 18:35 test dave at enigmaforce:/tank/stuff# ls -v test test Tried capital V: dkoe001 at enigmaforce:/tank/stuff# ls -V test ls: invalid option -- V Try `ls --help'' for more information. And trying to get the ACL on the the directory as well: dave at enigmaforce:/tank/stuff# ls -dv New\ Folder/ New Folder/ So my question what I am missing/doing wrong, and how do I simply view the ACLs for files/directories with a view knowing what to modify...? Cheers! This message posted from opensolaris.org
On Wed, May 14, 2008 at 6:42 PM, Dave Koelmeyer <d.koelmeyer at auckland.ac.nz> wrote:> Hi All, first time caller here, so please be gentle... > > I''m on OpenSolaris 2008.05, and following the really useful guide here to create a CIFs share in domain mode: > > http://blogs.sun.com/timthomas/entry/configuring_the_opensolaris_cifs_server > > > Works like a charm. Now, I want to be able to view the ACLs of files and directories > created in my shared pool, a la: > > http://dlc.sun.com/osol/docs/content/ZFSADMIN/gbace.html > > That help page says I can view ACLs by doing ls -v <file>, but no matter what I try I cannot view anything ACL related: What I get instead is: > > > dave at enigmaforce:/tank/stuff# ls -l > total 2 > drwxrwxrwx 3 2147483649 2147483650 3 2008-05-14 18:37 New Folder > -rw-r--r-- 1 root root 0 2008-05-14 18:35 test > > dave at enigmaforce:/tank/stuff# ls -v test > test > > > Tried capital V: > > > dkoe001 at enigmaforce:/tank/stuff# ls -V test > ls: invalid option -- V > Try `ls --help'' for more information. > > > And trying to get the ACL on the the directory as well: > > dave at enigmaforce:/tank/stuff# ls -dv New\ Folder/ > New Folder/ > > > So my question what I am missing/doing wrong, and how do I simply view the ACLs for files/directories with a view knowing what to modify...?The GNU shell utilities do not support ACLs. You must use the traditional Solaris utilities instead -- either explicitly call /bin/ls, /bin/chmod, or adjust your path/aliases accordingly.
Joerg Schilling
2008-May-15 11:59 UTC
[zfs-discuss] ZFS and viewing ACLs / OpenSolaris 2008.05
Dave Koelmeyer <d.koelmeyer at auckland.ac.nz> wrote:> dkoe001 at enigmaforce:/tank/stuff# ls -V test > ls: invalid option -- V > Try `ls --help'' for more information. >You are not using "ls" bug "gls" ;-) J?rg -- EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin js at cs.tu-berlin.de (uni) schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily