<?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 umask in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/4133618#M316547</link>
    <description>Hello ,&lt;BR /&gt;In my hp system i have not set any umask in /etc/profile. as myself and super user when files are created it is created as 666.BUt for an user oracle it is created as 644 - There is a requirement to change this to 666 - i tried setting this in oracle users .profile umask 022 - but it does not help.Any advice ? much appreciated.&lt;BR /&gt;Thanks</description>
    <pubDate>Tue, 22 Jan 2008 17:34:18 GMT</pubDate>
    <dc:creator>navin</dc:creator>
    <dc:date>2008-01-22T17:34:18Z</dc:date>
    <item>
      <title>umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/4133618#M316547</link>
      <description>Hello ,&lt;BR /&gt;In my hp system i have not set any umask in /etc/profile. as myself and super user when files are created it is created as 666.BUt for an user oracle it is created as 644 - There is a requirement to change this to 666 - i tried setting this in oracle users .profile umask 022 - but it does not help.Any advice ? much appreciated.&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 22 Jan 2008 17:34:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/4133618#M316547</guid>
      <dc:creator>navin</dc:creator>
      <dc:date>2008-01-22T17:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/4133619#M316548</link>
      <description>Hi Navin:&lt;BR /&gt;&lt;BR /&gt;If you want files created by the 'oracle' user to have permissions of 666 (-rw-rw-rw-) then in oracle's '.profile' specify:&lt;BR /&gt;&lt;BR /&gt;umask 000&lt;BR /&gt;&lt;BR /&gt;This is very poor security.  A 'umask=022' which by default creates files with 644 permissions is much better.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 22 Jan 2008 17:43:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/4133619#M316548</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-01-22T17:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/4133620#M316549</link>
      <description>umask 022 doesn't make the files 666.&lt;BR /&gt;&lt;BR /&gt;Also on a side note if these files are created by ftp.  A lot of times it will be set in the inetd.conf.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Jan 2008 17:43:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/4133620#M316549</guid>
      <dc:creator>Dave Hutton</dc:creator>
      <dc:date>2008-01-22T17:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/4133621#M316550</link>
      <description>If you want 666 mode set for files then umask must be set to 000 but this is a necessary but not necessarily sufficient condition. There are two things at play during file creation: 1) The creation mode 2) umask. If the file creation mode (which for the shell is 666 but depends upon the application) then a umask of 000 "subtracts" nothing and the resulting mode is 666. However, if the creation mode is 644 then regardless of the umask value, the file is created with at most 644 permission. Umask cannot put in a permission that was not granted at the outset.&lt;BR /&gt;&lt;BR /&gt;Finally, whoever has requested a 666 file mode is woefully ignorant of good security practices.</description>
      <pubDate>Tue, 22 Jan 2008 18:17:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/4133621#M316550</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2008-01-22T18:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/4133622#M316551</link>
      <description>As side note:&lt;BR /&gt;&lt;BR /&gt;Don't forget to set the default ftp umask by adding "-u 022" to the end of the ftp services line in /etc/inetd.conf.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Jan 2008 20:25:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/4133622#M316551</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-01-22T20:25:59Z</dc:date>
    </item>
  </channel>
</rss>

