<?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/2784496#M78079</link>
    <description>what is the setting for umask to equal 777  ?</description>
    <pubDate>Mon, 12 Aug 2002 19:10:45 GMT</pubDate>
    <dc:creator>Nobody's Hero</dc:creator>
    <dc:date>2002-08-12T19:10:45Z</dc:date>
    <item>
      <title>umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784496#M78079</link>
      <description>what is the setting for umask to equal 777  ?</description>
      <pubDate>Mon, 12 Aug 2002 19:10:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784496#M78079</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2002-08-12T19:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784497#M78080</link>
      <description>umask 0&lt;BR /&gt;&lt;BR /&gt;Note that regular files will be created with 666 permissions, executables will be 777.&lt;BR /&gt;&lt;BR /&gt;Tom</description>
      <pubDate>Mon, 12 Aug 2002 19:12:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784497#M78080</guid>
      <dc:creator>Tom Maloy</dc:creator>
      <dc:date>2002-08-12T19:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784498#M78081</link>
      <description>umask 0&lt;BR /&gt;&lt;BR /&gt;NOTE: Setting umask to 0 reduces security on your system. It is better to have it set to 022.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Mon, 12 Aug 2002 19:24:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784498#M78081</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-08-12T19:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784499#M78082</link>
      <description>You have to understand that there are two components to the file permissions when using the creat system call. 1) the cmask 2) the umask which, in essence, subtracts from the cmask. Man 2 creat for details.&lt;BR /&gt;&lt;BR /&gt;In the shell, regular files are created with a cmask of 666 so there is no direct way regardless of umask to set 777 when the file is created. The creation of the file must be followed by an explicit chmod command. (Directories use a cmask of 777 and thus can be a one-step process.)&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Aug 2002 19:26:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784499#M78082</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-08-12T19:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784500#M78083</link>
      <description>I guess what I am trying to say is that I need to set the umask, so when a user creates a file, it gets created as 777. How can I do that? right now all new files created are rw-rw-rw</description>
      <pubDate>Mon, 12 Aug 2002 19:28:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784500#M78083</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2002-08-12T19:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784501#M78084</link>
      <description>Can't do that - the system does not work that way. Regular files will always be created with (at most) 666. Executable files (from a compile, etc) can be created with 777. But not regular files...&lt;BR /&gt;&lt;BR /&gt;Tom</description>
      <pubDate>Mon, 12 Aug 2002 19:31:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784501#M78084</guid>
      <dc:creator>Tom Maloy</dc:creator>
      <dc:date>2002-08-12T19:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784502#M78085</link>
      <description>777 means that anyone on the system can trash the file, and the execute bit means that the file is a valid shell script or executable. None of these assumptions are good ones to make. If a user wants their files corrupted and randomly executed, 777 is what you would use, but I suspect that novice users don't know any better and want everything 777 so they don't have to learn about permissions.</description>
      <pubDate>Mon, 12 Aug 2002 19:37:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784502#M78085</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-08-12T19:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784503#M78086</link>
      <description>hello,&lt;BR /&gt;&lt;BR /&gt;For files, you need to apply the chmod command for doing this. This permission 777 applies only for a directory and not for files. For files 666 will be the max. umask setting. You can then do a chmod 777 file_name&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Mon, 12 Aug 2002 19:38:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784503#M78086</guid>
      <dc:creator>Sajid_1</dc:creator>
      <dc:date>2002-08-12T19:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784504#M78087</link>
      <description>hello,&lt;BR /&gt;&lt;BR /&gt;Read this document to learn more about how umask works:&lt;BR /&gt;&lt;A href="http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000058348142" target="_blank"&gt;http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000058348142&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Doc ID - KBRC00008721</description>
      <pubDate>Mon, 12 Aug 2002 19:41:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784504#M78087</guid>
      <dc:creator>Sajid_1</dc:creator>
      <dc:date>2002-08-12T19:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784505#M78088</link>
      <description>You can set up a makefile to do the chmod 777 as part of making the file.&lt;BR /&gt;&lt;BR /&gt;Again, it is a security risk.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Mon, 12 Aug 2002 19:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2784505#M78088</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-08-12T19:42:56Z</dc:date>
    </item>
  </channel>
</rss>

