<?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: Umask in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/3314000#M876463</link>
    <description>Hi,&lt;BR /&gt; &lt;BR /&gt;with umask set to 000 directories will be created as rwxrwxrwx, files will be created as rw-rw-rw-.  Nothing you can do about, files will never be create with execute privilege!&lt;BR /&gt; &lt;BR /&gt;You will have to add a chmod command if execute privilege is required.&lt;BR /&gt;  &lt;BR /&gt;regards,&lt;BR /&gt;Thierry Poels.</description>
    <pubDate>Thu, 24 Jun 2004 03:53:27 GMT</pubDate>
    <dc:creator>Thierry Poels_1</dc:creator>
    <dc:date>2004-06-24T03:53:27Z</dc:date>
    <item>
      <title>Umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/3313999#M876461</link>
      <description>I edited .profile of user01 to include umask 002.&lt;BR /&gt;&lt;BR /&gt;All new directories created by user01 are now rwxrwxr-x&lt;BR /&gt;&lt;BR /&gt;But all files are &lt;BR /&gt;rw-rw-r--&lt;BR /&gt;&lt;BR /&gt;How do we make them also rwxrwxr-x&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jun 2004 03:45:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/3313999#M876461</guid>
      <dc:creator>Irene Jao</dc:creator>
      <dc:date>2004-06-24T03:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/3314000#M876463</link>
      <description>Hi,&lt;BR /&gt; &lt;BR /&gt;with umask set to 000 directories will be created as rwxrwxrwx, files will be created as rw-rw-rw-.  Nothing you can do about, files will never be create with execute privilege!&lt;BR /&gt; &lt;BR /&gt;You will have to add a chmod command if execute privilege is required.&lt;BR /&gt;  &lt;BR /&gt;regards,&lt;BR /&gt;Thierry Poels.</description>
      <pubDate>Thu, 24 Jun 2004 03:53:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/3314000#M876463</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2004-06-24T03:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/3314001#M876464</link>
      <description>Hi,&lt;BR /&gt;Directory permissions are 777 and files are 666. &lt;BR /&gt;Now since defualt umask is 022 :&lt;BR /&gt;Default file permissions become 644 and directory permissions become 755 and then it will change accordingly with the umask value you set.&lt;BR /&gt;&lt;BR /&gt;For umask 002 Files (664) and directory (775)&lt;BR /&gt;and so on.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;regards,&lt;BR /&gt;Regards,</description>
      <pubDate>Thu, 24 Jun 2004 03:59:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/3314001#M876464</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-06-24T03:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/3314002#M876465</link>
      <description>In the user's .profile add &lt;BR /&gt;&lt;BR /&gt;alias mkdir=/home/script/mkdir.sh&lt;BR /&gt;&lt;BR /&gt;Create /home/script/mkdir.sh as &lt;BR /&gt;&lt;BR /&gt;mkdir $*&lt;BR /&gt;chmod 664 $*&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Thu, 24 Jun 2004 04:10:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/3314002#M876465</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-06-24T04:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/3314003#M876466</link>
      <description>The user can change the files created under a directory with the commnad chmod:&lt;BR /&gt;&lt;BR /&gt;chmod 775 file_name&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;chmod -R 775 dir_name&lt;BR /&gt;&lt;BR /&gt;sks</description>
      <pubDate>Thu, 24 Jun 2004 04:12:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/3314003#M876466</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2004-06-24T04:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/3314004#M876467</link>
      <description>unfortunately the files are created through a program to different directories. we have no way of knowing when to do chmod since they are created at different times and in different directories.</description>
      <pubDate>Fri, 25 Jun 2004 00:07:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/3314004#M876467</guid>
      <dc:creator>Irene Jao</dc:creator>
      <dc:date>2004-06-25T00:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/3314005#M876468</link>
      <description>Files need +x permission if you want to execute them. Else for the purpose of read and write rw-rw-rw- with umask 000 should suffice.&lt;BR /&gt;&lt;BR /&gt;If the need for x (execute) permission is still then a small script having chmod commands can be run periodically using cron.&lt;BR /&gt;&lt;BR /&gt;sks</description>
      <pubDate>Fri, 25 Jun 2004 00:15:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/3314005#M876468</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2004-06-25T00:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/3314006#M876469</link>
      <description>L.S.&lt;BR /&gt;&lt;BR /&gt;Why do the files created by your program need the x-bit? Is the program generating other program-files, like shell scripts?&lt;BR /&gt;&lt;BR /&gt;In stead of setting the x bit, you can also run the program by typing&lt;BR /&gt;sh filename&lt;BR /&gt;&lt;BR /&gt;JP.</description>
      <pubDate>Fri, 25 Jun 2004 01:02:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/3314006#M876469</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2004-06-25T01:02:09Z</dc:date>
    </item>
  </channel>
</rss>

