<?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: setcl in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/setcl/m-p/5188070#M461097</link>
    <description>If  you need to set only for files in a particular directory ,use below&lt;BR /&gt;find &lt;DIRECTORY&gt; -type f -exec setacl -m u/g:permission: {} \;&lt;BR /&gt;all the files/directories in a particular directory ,use below&lt;BR /&gt;setacl -m u/g:permission:&lt;DIRECTORY&gt;\*&lt;BR /&gt;&lt;/DIRECTORY&gt;&lt;/DIRECTORY&gt;</description>
    <pubDate>Fri, 17 Jul 2009 18:27:09 GMT</pubDate>
    <dc:creator>Roopesh Francis_1</dc:creator>
    <dc:date>2009-07-17T18:27:09Z</dc:date>
    <item>
      <title>setcl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setcl/m-p/5188067#M461094</link>
      <description>Hi admins,&lt;BR /&gt;&lt;BR /&gt;i am giving setacl permission for  a folder.But it has more than 200 files.Is there any option with setacl to give permission to all 200 files.&lt;BR /&gt;&lt;BR /&gt;quick response is highly appreciated&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;himacs</description>
      <pubDate>Fri, 17 Jul 2009 18:08:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setcl/m-p/5188067#M461094</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-07-17T18:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: setcl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setcl/m-p/5188068#M461095</link>
      <description>Hi Himacs:&lt;BR /&gt;&lt;BR /&gt;You can specify multiple files like:&lt;BR /&gt;&lt;BR /&gt;setacl [-n] -f acl_file file... &lt;BR /&gt;&lt;BR /&gt;The elipses after "file" (i.e. "file...") mean that you can repeat this argument.&lt;BR /&gt;&lt;BR /&gt;Hence you could do something like:&lt;BR /&gt;&lt;BR /&gt;# FILES=$(find /path -xdev -type f)&lt;BR /&gt;&lt;BR /&gt;# setacl -f acl_file ${FILES}&lt;BR /&gt;&lt;BR /&gt;For details, see:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60130/setacl.1.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60130/setacl.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 17 Jul 2009 18:19:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setcl/m-p/5188068#M461095</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-07-17T18:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: setcl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setcl/m-p/5188069#M461096</link>
      <description>the "man" page would indicate that it (setacl) supports multiple files at the same time.  which leads me to believe that, within the folder you could &lt;BR /&gt;&lt;BR /&gt;setacl ..... *&lt;BR /&gt;&lt;BR /&gt;where the shell expands the "*" to all of the names found.&lt;BR /&gt;&lt;BR /&gt;of course, if there are subdirectories, that might cause an issue.  you could also use "find .... -exec setacl ..." to locate any files and the run the setacl.&lt;BR /&gt;&lt;BR /&gt;I'm sure there are other ways as well</description>
      <pubDate>Fri, 17 Jul 2009 18:21:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setcl/m-p/5188069#M461096</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-07-17T18:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: setcl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setcl/m-p/5188070#M461097</link>
      <description>If  you need to set only for files in a particular directory ,use below&lt;BR /&gt;find &lt;DIRECTORY&gt; -type f -exec setacl -m u/g:permission: {} \;&lt;BR /&gt;all the files/directories in a particular directory ,use below&lt;BR /&gt;setacl -m u/g:permission:&lt;DIRECTORY&gt;\*&lt;BR /&gt;&lt;/DIRECTORY&gt;&lt;/DIRECTORY&gt;</description>
      <pubDate>Fri, 17 Jul 2009 18:27:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setcl/m-p/5188070#M461097</guid>
      <dc:creator>Roopesh Francis_1</dc:creator>
      <dc:date>2009-07-17T18:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: setcl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setcl/m-p/5188071#M461098</link>
      <description>Hi ,&lt;BR /&gt; thanx for the repliesss.&lt;BR /&gt;&lt;BR /&gt;i am thinking to write a loop script for this.&lt;BR /&gt;But my concern is subfolders..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;himacs</description>
      <pubDate>Fri, 17 Jul 2009 19:29:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setcl/m-p/5188071#M461098</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-07-17T19:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: setcl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setcl/m-p/5188072#M461099</link>
      <description>Hi (again) himacs:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; i am thinking to write a loop script for this. But my concern is subfolders..&lt;BR /&gt;&lt;BR /&gt;I already offered a solution that will collect the files from subdirectories.  Why do you want to write a loop...and to do what?  See my original suggestion.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 17 Jul 2009 19:39:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setcl/m-p/5188072#M461099</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-07-17T19:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: setcl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setcl/m-p/5188073#M461100</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;yes James,&lt;BR /&gt;&lt;BR /&gt;full points..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;himacs</description>
      <pubDate>Fri, 17 Jul 2009 19:52:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setcl/m-p/5188073#M461100</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-07-17T19:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: setcl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setcl/m-p/5188074#M461101</link>
      <description>I found this thread as very useful..</description>
      <pubDate>Fri, 17 Jul 2009 19:55:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setcl/m-p/5188074#M461101</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-07-17T19:55:16Z</dc:date>
    </item>
  </channel>
</rss>

