<?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: file mode in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-mode/m-p/3026236#M131622</link>
    <description>Although you could put an alias in the user's profile so that cd is now a script, a good Unix user will often never cd into a directory just to look for or create files. Instead, a full pathname is used such as:&lt;BR /&gt;&lt;BR /&gt;vi /tmp/xyz&lt;BR /&gt;&lt;BR /&gt;There are just too many ways to create a file in a specific directory. &lt;BR /&gt;</description>
    <pubDate>Thu, 17 Jul 2003 20:15:08 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2003-07-17T20:15:08Z</dc:date>
    <item>
      <title>file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-mode/m-p/3026229#M131615</link>
      <description>The default mode of user create file is 644 , can force the file mode must be 666 when the user write the file to the directory /tmp (except run a crontab job to change it)?</description>
      <pubDate>Thu, 17 Jul 2003 10:32:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-mode/m-p/3026229#M131615</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-07-17T10:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-mode/m-p/3026230#M131616</link>
      <description>Set the user's umask - see man umask.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jul 2003 10:34:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-mode/m-p/3026230#M131616</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-07-17T10:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-mode/m-p/3026231#M131617</link>
      <description>Oh, you mean only for /tmp?  I can't think of a way other than the cron job you mentioned!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jul 2003 10:39:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-mode/m-p/3026231#M131617</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-07-17T10:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-mode/m-p/3026232#M131618</link>
      <description>thx reply, &lt;BR /&gt;&lt;BR /&gt;but if i change umask , all file mode will be changed , except use cron job , is there other method ? thx.</description>
      <pubDate>Thu, 17 Jul 2003 11:20:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-mode/m-p/3026232#M131618</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-07-17T11:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-mode/m-p/3026233#M131619</link>
      <description>There is no simple way to accomplish this task since changing (or specifying) a specific directory has no link to umask. Users will simply have to be better educated or remove their shell prompt and give them a menu of tasks that they are allowed to perform and set umask as required as part of the menu program. &lt;BR /&gt;&lt;BR /&gt;Another alternative is to set umask to 072 for certain users and put these users into a special group so group permissions will be effective but not give away everything. 666 is a very nad permission for anything except a junk file because that is all you can expect. 666 files (or the more common 777) means that the contents may be trashed by any user on the system.</description>
      <pubDate>Thu, 17 Jul 2003 13:04:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-mode/m-p/3026233#M131619</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-07-17T13:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-mode/m-p/3026234#M131620</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I was just wondering if a trap can be set when the use does a cd to /tmp and is there any way by using a trap can we change the umask??&lt;BR /&gt;&lt;BR /&gt;-Karthik S S</description>
      <pubDate>Thu, 17 Jul 2003 13:08:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-mode/m-p/3026234#M131620</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-07-17T13:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-mode/m-p/3026235#M131621</link>
      <description>Hi,&lt;BR /&gt;just a warning. Many application stores they temporary files in /tmp.&lt;BR /&gt;If you are going to create a cron job that will change recursively all the permission to files in /tmp, take care that some apps may stop working or behave strangely.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt; Massimo&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jul 2003 13:17:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-mode/m-p/3026235#M131621</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-07-17T13:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-mode/m-p/3026236#M131622</link>
      <description>Although you could put an alias in the user's profile so that cd is now a script, a good Unix user will often never cd into a directory just to look for or create files. Instead, a full pathname is used such as:&lt;BR /&gt;&lt;BR /&gt;vi /tmp/xyz&lt;BR /&gt;&lt;BR /&gt;There are just too many ways to create a file in a specific directory. &lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jul 2003 20:15:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-mode/m-p/3026236#M131622</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-07-17T20:15:08Z</dc:date>
    </item>
  </channel>
</rss>

