<?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 creation in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164294#M456863</link>
    <description>if they are simple files why do you need execute permissions, rw should be fine.&lt;BR /&gt;But if still you need execute permissions and these files are generated out of the system, have a cron script that would change their permissions frequently.</description>
    <pubDate>Wed, 18 Mar 2009 10:26:32 GMT</pubDate>
    <dc:creator>T G Manikandan</dc:creator>
    <dc:date>2009-03-18T10:26:32Z</dc:date>
    <item>
      <title>file creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164287#M456856</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have a partition with oracle:dba as owner and group.umask is 022.when oracle user creates any file default permission  it shows rw_-r__-r.&lt;BR /&gt;I want it to be rwx for owner and r-x for group by default.&lt;BR /&gt;&lt;BR /&gt;please help me on this.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;himacs</description>
      <pubDate>Wed, 18 Mar 2009 09:46:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164287#M456856</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-03-18T09:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: file creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164288#M456857</link>
      <description>when a normal file is default created &lt;BR /&gt;&lt;BR /&gt;its 666 and for a directory its 777&lt;BR /&gt;&lt;BR /&gt;so when the umask is 022&lt;BR /&gt;&lt;BR /&gt;666&lt;BR /&gt;022&lt;BR /&gt;---&lt;BR /&gt;644 which is rw-r-r-&lt;BR /&gt;&lt;BR /&gt;Now for directory&lt;BR /&gt;&lt;BR /&gt;777&lt;BR /&gt;022&lt;BR /&gt;----&lt;BR /&gt;755 which is rwxr_xr_x&lt;BR /&gt;&lt;BR /&gt;so the present umask is fine, just because its file its rw_r_r.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Mar 2009 09:48:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164288#M456857</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2009-03-18T09:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: file creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164289#M456858</link>
      <description>Hi manikandan,&lt;BR /&gt;&lt;BR /&gt;But when oracle creates any file ,permission shows rw_-r-r.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;himacs</description>
      <pubDate>Wed, 18 Mar 2009 09:51:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164289#M456858</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-03-18T09:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: file creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164290#M456859</link>
      <description>because they are normal text files and have file permissions 0666 and with umask 0022 it gets 0644 which is rw_r--r--.&lt;BR /&gt;&lt;BR /&gt;why do you need permissions 755 as those files are text files or log files.&lt;BR /&gt;I feel the present umask looks fine. Is there a reason you want to change.</description>
      <pubDate>Wed, 18 Mar 2009 09:56:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164290#M456859</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2009-03-18T09:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: file creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164291#M456860</link>
      <description>hi manikandan,&lt;BR /&gt;&lt;BR /&gt;thanks for ur reply.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i just confused..&lt;BR /&gt;&lt;BR /&gt;but how we can set defualt permission for only files not dir.s which should not affect present umask.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;himacs&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Mar 2009 10:05:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164291#M456860</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-03-18T10:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: file creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164292#M456861</link>
      <description>I dont think there is a way, if I am not wrong. probably if you want to change permissions with a specific oracle directory you can have a script that changes the permissions of those directory files every 3 hours or something.&lt;BR /&gt;&lt;BR /&gt;But which is the directory/files which you are looking for a changed permissions, &lt;BR /&gt;Are they scripts, text files, special files which need the twx i.e. execute permissions?</description>
      <pubDate>Wed, 18 Mar 2009 10:10:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164292#M456861</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2009-03-18T10:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: file creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164293#M456862</link>
      <description>hi mani,&lt;BR /&gt;&lt;BR /&gt;not for special files...simple files&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;himacs</description>
      <pubDate>Wed, 18 Mar 2009 10:14:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164293#M456862</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-03-18T10:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: file creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164294#M456863</link>
      <description>if they are simple files why do you need execute permissions, rw should be fine.&lt;BR /&gt;But if still you need execute permissions and these files are generated out of the system, have a cron script that would change their permissions frequently.</description>
      <pubDate>Wed, 18 Mar 2009 10:26:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164294#M456863</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2009-03-18T10:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: file creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164295#M456864</link>
      <description>one other thing you do atmost would be having the umask set with oracle user's .profile &lt;BR /&gt;&lt;BR /&gt;as &lt;BR /&gt;&lt;BR /&gt;umask 0022&lt;BR /&gt;&lt;BR /&gt;With oracle running under its group we are providing permissions for owner and group and restricting for others.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Mar 2009 11:01:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164295#M456864</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2009-03-18T11:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: file creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164296#M456865</link>
      <description>sorry the last post I mean &lt;BR /&gt;&lt;BR /&gt;umask from 022 to 002</description>
      <pubDate>Wed, 18 Mar 2009 11:21:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164296#M456865</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2009-03-18T11:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: file creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164297#M456866</link>
      <description>Hi mani,&lt;BR /&gt;&lt;BR /&gt;thanks for ur replies.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;himacs</description>
      <pubDate>Wed, 18 Mar 2009 11:26:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164297#M456866</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-03-18T11:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: file creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164298#M456867</link>
      <description>thanks</description>
      <pubDate>Wed, 18 Mar 2009 12:52:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-creation/m-p/5164298#M456867</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-03-18T12:52:24Z</dc:date>
    </item>
  </channel>
</rss>

