<?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: Unix Command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763040#M259792</link>
    <description>chmod is the command &lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90689/chmod.1.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90689/chmod.1.html&lt;/A&gt;</description>
    <pubDate>Fri, 31 Mar 2006 07:47:49 GMT</pubDate>
    <dc:creator>Cheryl Griffin</dc:creator>
    <dc:date>2006-03-31T07:47:49Z</dc:date>
    <item>
      <title>Unix Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763038#M259790</link>
      <description>Can someone tell me the command to give execute permission to a directory and to all the sub-directories and files within that directory&lt;BR /&gt;&lt;BR /&gt;Thanx&lt;BR /&gt;Rahim...</description>
      <pubDate>Fri, 31 Mar 2006 07:45:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763038#M259790</guid>
      <dc:creator>Rahim Makhani</dc:creator>
      <dc:date>2006-03-31T07:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763039#M259791</link>
      <description>chmod -R 755 /dir&lt;BR /&gt;gives rwx ro owner and rx to group and others.</description>
      <pubDate>Fri, 31 Mar 2006 07:46:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763039#M259791</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2006-03-31T07:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763040#M259792</link>
      <description>chmod is the command &lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90689/chmod.1.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90689/chmod.1.html&lt;/A&gt;</description>
      <pubDate>Fri, 31 Mar 2006 07:47:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763040#M259792</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2006-03-31T07:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763041#M259793</link>
      <description>Rahim,&lt;BR /&gt;see man chmod&lt;BR /&gt;&lt;BR /&gt;Grant execute to all users (dangerous!)&lt;BR /&gt;chmod -R a+x &lt;DIR_PATH&gt;&lt;/DIR_PATH&gt;</description>
      <pubDate>Fri, 31 Mar 2006 07:52:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763041#M259793</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-03-31T07:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763042#M259794</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;The chmod command with -R ( recursive ) applies the permission to all files and subdirectories too.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Siva.</description>
      <pubDate>Fri, 31 Mar 2006 08:29:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763042#M259794</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2006-03-31T08:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763043#M259795</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;do the following:&lt;BR /&gt;&lt;BR /&gt;chmod -R 755 /yourdir&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Fri, 31 Mar 2006 08:39:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763043#M259795</guid>
      <dc:creator>Vipulinux</dc:creator>
      <dc:date>2006-03-31T08:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763044#M259796</link>
      <description>Rahim,&lt;BR /&gt;&lt;BR /&gt;Here it is :&lt;BR /&gt;&lt;BR /&gt;# chmod -R ugo+x dirname&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Fri, 31 Mar 2006 11:36:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763044#M259796</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-03-31T11:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763045#M259797</link>
      <description>Do the following.&lt;BR /&gt;&lt;BR /&gt;chmod -R 755 /&lt;DIRECTORY name=""&gt;&lt;BR /&gt;Changes all Directories, Sub-Dir and Files to RWX for Owner, r_x for Group and r_x for others.&lt;BR /&gt;Note:- Hope you realize seriousness of 755 -R.&lt;BR /&gt;&lt;BR /&gt;This will not apply for the Newly created files and folder. (your umask will matter there).&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;MS&lt;/DIRECTORY&gt;</description>
      <pubDate>Sun, 02 Apr 2006 02:32:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763045#M259797</guid>
      <dc:creator>SUDHEER M S</dc:creator>
      <dc:date>2006-04-02T02:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763046#M259798</link>
      <description>Actually, all of the answers are slightly incorrect. chmod -R wil change EVERYTHING in every directory which you defeinitely do NOT want to do. Directories must be executable to be searched, but data files should not be excutable to avoid problems. The correct command would be:&lt;BR /&gt; &lt;BR /&gt;find /specific_directory -type d -print -exec chmod a+x {} \;&lt;BR /&gt; &lt;BR /&gt;The find command locates only the specific_directory and all sub-directories, but ignores any files.&lt;BR /&gt; &lt;BR /&gt;NOTE: chmod -R is an extremely dangerous command as it can make unwanted changes to all directories and files in a directory tree. Be very cautious about using the -R option. Also make note that an absolute numeric value (such as 755 or 666 or 7777) will destroy sticky bits and set UID and GID bits, rendering certain programs inoperable. Adding +x to a bunch of directories is genrally safe as it allows all users to search through (execute) the directory. Adding +w to all users for a set of  directories in inherently unsafe as it allows all users to delete or rename the files (and directories) in the directory.</description>
      <pubDate>Sun, 02 Apr 2006 13:04:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unix-command/m-p/3763046#M259798</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-04-02T13:04:02Z</dc:date>
    </item>
  </channel>
</rss>

