<?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 Changing File Permissions in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000207#M126325</link>
    <description>Hi Friends,&lt;BR /&gt;I would like to change the file permissions for several files under a specific directory and it's sub / sub-sub directory.&lt;BR /&gt;&lt;BR /&gt;Will appreciate if you can let me know the best way to do this.</description>
    <pubDate>Wed, 18 Jun 2003 02:46:33 GMT</pubDate>
    <dc:creator>Sanjay Verma</dc:creator>
    <dc:date>2003-06-18T02:46:33Z</dc:date>
    <item>
      <title>Changing File Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000207#M126325</link>
      <description>Hi Friends,&lt;BR /&gt;I would like to change the file permissions for several files under a specific directory and it's sub / sub-sub directory.&lt;BR /&gt;&lt;BR /&gt;Will appreciate if you can let me know the best way to do this.</description>
      <pubDate>Wed, 18 Jun 2003 02:46:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000207#M126325</guid>
      <dc:creator>Sanjay Verma</dc:creator>
      <dc:date>2003-06-18T02:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Changing File Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000208#M126326</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;chmod -R nnnn /dir&lt;BR /&gt;&lt;BR /&gt;ex: chmod -R 0777 /test&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;karthik</description>
      <pubDate>Wed, 18 Jun 2003 02:56:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000208#M126326</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-06-18T02:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Changing File Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000209#M126327</link>
      <description>If you have a file list this can be done quite easily. e.g.&lt;BR /&gt;&lt;BR /&gt;# for i in `cat filelist`&lt;BR /&gt;&amp;gt; do&lt;BR /&gt;&amp;gt; chmod 555 $i&lt;BR /&gt;&amp;gt; done&lt;BR /&gt;&lt;BR /&gt;or using find&lt;BR /&gt;&lt;BR /&gt;# find /mydir -name "file string" | xargs chmod 555&lt;BR /&gt;&lt;BR /&gt;# find /mydir -xdev -type f -perm 666 | xargs chmod 644&lt;BR /&gt;&lt;BR /&gt;It really depends on the files ...</description>
      <pubDate>Wed, 18 Jun 2003 02:57:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000209#M126327</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-06-18T02:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Changing File Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000210#M126328</link>
      <description>Change permissions of specific directory recursively:&lt;BR /&gt;# chmod -R 505 &lt;DIR_NAME&gt;&lt;BR /&gt;Change owner of specific directory recursively:&lt;BR /&gt;# chown -R user:group &lt;DIR_NAME&gt;&lt;/DIR_NAME&gt;&lt;/DIR_NAME&gt;</description>
      <pubDate>Wed, 18 Jun 2003 03:22:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000210#M126328</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-06-18T03:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Changing File Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000211#M126329</link>
      <description>hi ,&lt;BR /&gt;# chmod -R xxx dir-name  shd slove your problem . xxx indicats file permition which you want to assign.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2003 03:31:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000211#M126329</guid>
      <dc:creator>yogesh_4</dc:creator>
      <dc:date>2003-06-18T03:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Changing File Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000212#M126330</link>
      <description>I appreciate for all your excellent and quick response. -Sanjay</description>
      <pubDate>Wed, 18 Jun 2003 04:52:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000212#M126330</guid>
      <dc:creator>Sanjay Verma</dc:creator>
      <dc:date>2003-06-18T04:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Changing File Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000213#M126331</link>
      <description>Michael,&lt;BR /&gt;I liked the command - &lt;BR /&gt;find /mydir -xdev -type f -perm 666 | xargs chmod 644 &lt;BR /&gt;As I understand about xdev and xargs clearly using the man, but could you pl. explain this in your term?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2003 07:08:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000213#M126331</guid>
      <dc:creator>Sanjay Verma</dc:creator>
      <dc:date>2003-06-18T07:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Changing File Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000214#M126332</link>
      <description>Hi Sanjay,&lt;BR /&gt;&lt;BR /&gt;one more tip (you can refer it with 'man chmod'):&lt;BR /&gt;-R is recursively for directories and files, so you have to include the x-option (execute) for the dirs.&lt;BR /&gt;If you don't want this you can use:&lt;BR /&gt;chmod -R g+w /dir &lt;BR /&gt;So the permission of group is changed (w is added) for /dis, all sub-dirs and files.&lt;BR /&gt;Equal: u for owner, o for world/others&lt;BR /&gt;and '-' for permission is deleted.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Volkmar</description>
      <pubDate>Wed, 18 Jun 2003 07:35:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000214#M126332</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2003-06-18T07:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Changing File Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000215#M126333</link>
      <description>by using "xdev" you tell to "find" to stay in current filesystem - usually you use it when you start your search from "/" and don't want to find in your "/var" partition.&lt;BR /&gt;&lt;BR /&gt;Vitaly</description>
      <pubDate>Thu, 19 Jun 2003 08:44:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-file-permissions/m-p/3000215#M126333</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2003-06-19T08:44:31Z</dc:date>
    </item>
  </channel>
</rss>

