<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Finding ACLs in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875081#M98889</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if you want to ignore files without ACLs sort them out before feeding them to getacl (which will work well for JFS filesystems) or leave the getacl-call:&lt;BR /&gt;&lt;BR /&gt;find mydir -print | xargs ls -god |&lt;BR /&gt;awk '$1 ~ ".*+$" {print $NF}' | xargs getacl&lt;BR /&gt;&lt;BR /&gt;You will get problems with xargs with filenames containing spaces (as usual).&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
    <pubDate>Thu, 05 Oct 2006 12:44:42 GMT</pubDate>
    <dc:creator>Peter Nikitka</dc:creator>
    <dc:date>2006-10-05T12:44:42Z</dc:date>
    <item>
      <title>Finding ACLs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875076#M98884</link>
      <description>Need to writeup a shell script to find the files which are having ACLs and then get details of each file using getacl command. Trying to tell users that setting up share group is much well controlled than setting ACLs for maintanence. &lt;BR /&gt;&lt;BR /&gt;Any comments, suggestions??&lt;BR /&gt;&lt;BR /&gt;Points will be awarded based on the solution and comments.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 05 Oct 2006 08:58:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875076#M98884</guid>
      <dc:creator>IT_2007</dc:creator>
      <dc:date>2006-10-05T08:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Finding ACLs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875077#M98885</link>
      <description>Hi,&lt;BR /&gt;see man lsacl:&lt;BR /&gt;" List ACLs for all files under mydir:&lt;BR /&gt;&lt;BR /&gt;           find mydir -print | sort | xargs lsacl&lt;BR /&gt;"</description>
      <pubDate>Thu, 05 Oct 2006 09:08:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875077#M98885</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-10-05T09:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Finding ACLs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875078#M98886</link>
      <description>I don't know where and which files has been set for ACLs. when I ran above command, I am getting lot like:&lt;BR /&gt;&lt;BR /&gt;lsacl: file "./oracleinstallfiles/9iclient/Disk3/stage/Components/oracle.options.intermedia.imserver/9.2.0.1.0/1": Operation not supported (errno = 223)&lt;BR /&gt;&lt;BR /&gt;so my intention is to find out only the files which are set with ACLs starting from / level.</description>
      <pubDate>Thu, 05 Oct 2006 09:27:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875078#M98886</guid>
      <dc:creator>IT_2007</dc:creator>
      <dc:date>2006-10-05T09:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Finding ACLs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875079#M98887</link>
      <description>Hi,&lt;BR /&gt;depends on what filesystem setup you have.&lt;BR /&gt;Should work on hfs, but fails on vxfs.&lt;BR /&gt;&lt;BR /&gt;Alternative is to either you find -acl (same problem), or use ll as thre will be a '+' at the end of the permissions section for each acl file.</description>
      <pubDate>Thu, 05 Oct 2006 09:41:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875079#M98887</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-10-05T09:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Finding ACLs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875080#M98888</link>
      <description>As per man page of getacl, it works only for JFS not HFS.&lt;BR /&gt;&lt;BR /&gt; getacl - list access control lists (ACLs) for files (JFS File Systems&lt;BR /&gt;      only)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have JFS filesystems and don't want to do on /stand which is HFS.&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Oct 2006 09:46:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875080#M98888</guid>
      <dc:creator>IT_2007</dc:creator>
      <dc:date>2006-10-05T09:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Finding ACLs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875081#M98889</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if you want to ignore files without ACLs sort them out before feeding them to getacl (which will work well for JFS filesystems) or leave the getacl-call:&lt;BR /&gt;&lt;BR /&gt;find mydir -print | xargs ls -god |&lt;BR /&gt;awk '$1 ~ ".*+$" {print $NF}' | xargs getacl&lt;BR /&gt;&lt;BR /&gt;You will get problems with xargs with filenames containing spaces (as usual).&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Thu, 05 Oct 2006 12:44:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875081#M98889</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-10-05T12:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Finding ACLs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875082#M98890</link>
      <description>Peter,&lt;BR /&gt;&lt;BR /&gt;  I ran your command and don't know what I am getting from it.&lt;BR /&gt;&lt;BR /&gt;At present my current directory shows + sign for one directory only and doesn't have ACL for files inside it.&lt;BR /&gt;&lt;BR /&gt;drwxrwsr-x+  2 test   test          4096 Sep 29 10:30 validate&lt;BR /&gt;&lt;BR /&gt; Would you please explain?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Oct 2006 13:06:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875082#M98890</guid>
      <dc:creator>IT_2007</dc:creator>
      <dc:date>2006-10-05T13:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Finding ACLs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875083#M98891</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if you have a directory reported like this&lt;BR /&gt;&lt;BR /&gt;drwxrwsr-x+ 2 test test 4096 Sep 29 10:30 validate&lt;BR /&gt;&lt;BR /&gt;you have ACLs on it, which should be reported by&lt;BR /&gt;getacl validate&lt;BR /&gt;&lt;BR /&gt;Ir does NOT mean, that file in this directory have ACLs as well: The mode of the directory may have been changed after the creation if files in it, and so the 'inheritance ACLs' (if an should be present)  just did not exist at creation time.&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Fri, 06 Oct 2006 05:59:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875083#M98891</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-10-06T05:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Finding ACLs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875084#M98892</link>
      <description>I am confused now. It shows the following:&lt;BR /&gt;&lt;BR /&gt;# getacl validate&lt;BR /&gt;# file: validate&lt;BR /&gt;# owner: test&lt;BR /&gt;# group: test&lt;BR /&gt;user::rwx&lt;BR /&gt;user:sastest:rwx&lt;BR /&gt;group::rwx&lt;BR /&gt;class:rwx&lt;BR /&gt;other:r-x&lt;BR /&gt;&lt;BR /&gt;   So what would be the difference between normal file and ACL file ? You mean to say at the creation time ACL might have been set but it changed later?&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Oct 2006 07:59:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875084#M98892</guid>
      <dc:creator>IT_2007</dc:creator>
      <dc:date>2006-10-06T07:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Finding ACLs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875085#M98893</link>
      <description>Hi,&lt;BR /&gt;your user sastest will have rwx priv on validate&lt;BR /&gt;So can limit to individual users, if you so wish, rather than groups.</description>
      <pubDate>Fri, 06 Oct 2006 08:09:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-acls/m-p/3875085#M98893</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-10-06T08:09:12Z</dc:date>
    </item>
  </channel>
</rss>

