<?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 problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066732#M904422</link>
    <description>Ok..then&lt;BR /&gt;&lt;BR /&gt;a file is created with permission 644 user p01adm and group daemon .&lt;BR /&gt;&lt;BR /&gt;-rw-r--r--   1 p01adm     daemon &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This is done by a job scheduled with autosys .&lt;BR /&gt;&lt;BR /&gt;If I connect to system like  p01adm user I see umask is 113 and if I create a file I've 664 permission ( that is right becuase of umask 113)&lt;BR /&gt;&lt;BR /&gt;-rw-rw--r--   1 p01adm     daemon   &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'm trying to figure out why files created with autosys scheduled job have 644 permission.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 09 Sep 2003 12:53:52 GMT</pubDate>
    <dc:creator>Claudio_17</dc:creator>
    <dc:date>2003-09-09T12:53:52Z</dc:date>
    <item>
      <title>umask problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066726#M904416</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;I've a file created with perm 644 by a job scheduled with autosys .&lt;BR /&gt;&lt;BR /&gt;These are directoy ( /test ) perm where files are created &lt;BR /&gt;&lt;BR /&gt;drwxrwsr-x   3 p01adm     daemon        2048 &lt;BR /&gt;&lt;BR /&gt;If I do umask while connected like p01adm it return 0113 and if I  create under /export/test it's created with 664 permission .&lt;BR /&gt;&lt;BR /&gt;The directory is NFS exported .&lt;BR /&gt;&lt;BR /&gt;Any suggest ?&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2003 12:25:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066726#M904416</guid>
      <dc:creator>Claudio_17</dc:creator>
      <dc:date>2003-09-09T12:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: umask problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066727#M904417</link>
      <description>umask can not be used to make files automatically executable.  You have to do that manually or via cron script after file creation.&lt;BR /&gt;&lt;BR /&gt;The keepers of Unix rightly decided it was a good idea that a human make the decision whether a file should be executabel.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 09 Sep 2003 12:33:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066727#M904417</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-09-09T12:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: umask problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066728#M904418</link>
      <description>I don't need file to be executable.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2003 12:43:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066728#M904418</guid>
      <dc:creator>Claudio_17</dc:creator>
      <dc:date>2003-09-09T12:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: umask problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066729#M904419</link>
      <description>What is your problem?  I don't quite understand what you are trying to solve.</description>
      <pubDate>Tue, 09 Sep 2003 12:47:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066729#M904419</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-09-09T12:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: umask problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066730#M904420</link>
      <description>I misunderstood you.&lt;BR /&gt;&lt;BR /&gt;For 664 permissions you need umask of 002.&lt;BR /&gt;&lt;BR /&gt;You might need that to be the umask on the NFS server too.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 09 Sep 2003 12:51:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066730#M904420</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-09-09T12:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: umask problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066731#M904421</link>
      <description>If I understood correctly, then a umask value of 0113, will create files with permission - 664. It's as expected.&lt;BR /&gt;&lt;BR /&gt;# man umask</description>
      <pubDate>Tue, 09 Sep 2003 12:52:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066731#M904421</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-09-09T12:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: umask problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066732#M904422</link>
      <description>Ok..then&lt;BR /&gt;&lt;BR /&gt;a file is created with permission 644 user p01adm and group daemon .&lt;BR /&gt;&lt;BR /&gt;-rw-r--r--   1 p01adm     daemon &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This is done by a job scheduled with autosys .&lt;BR /&gt;&lt;BR /&gt;If I connect to system like  p01adm user I see umask is 113 and if I create a file I've 664 permission ( that is right becuase of umask 113)&lt;BR /&gt;&lt;BR /&gt;-rw-rw--r--   1 p01adm     daemon   &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'm trying to figure out why files created with autosys scheduled job have 644 permission.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2003 12:53:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066732#M904422</guid>
      <dc:creator>Claudio_17</dc:creator>
      <dc:date>2003-09-09T12:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: umask problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066733#M904423</link>
      <description>For the last question: Check who owns the 'autosys' process and who is the owner of the process that creates your files. Now check the umask value set in that user profile. It might be different from your user 'p01adm'.</description>
      <pubDate>Tue, 09 Sep 2003 12:59:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066733#M904423</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-09-09T12:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: umask problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066734#M904424</link>
      <description>Where's the issue?&lt;BR /&gt;The only thing I don't like to see it that umask doesn't show SetGID bit (2) so the correct umask should be shown: 2113&lt;BR /&gt;&lt;BR /&gt;The rest is ok,664 maps to umask 113.May be you&lt;BR /&gt;try to clarify the problem?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Zeev</description>
      <pubDate>Tue, 09 Sep 2003 13:00:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066734#M904424</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-09-09T13:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: umask problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066735#M904425</link>
      <description>Hm,post got late after the clarification :)&lt;BR /&gt;&lt;BR /&gt;Ok,I'd also check /etc/profile if default umask 022 was changed by someone (and .profile for p01adm as was mentioned).And look inside your script - it may call another scripts with another owners etc.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2003 13:15:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-problem/m-p/3066735#M904425</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-09-09T13:15:22Z</dc:date>
    </item>
  </channel>
</rss>

