<?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: Permission problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/permission-problem/m-p/3361421#M746971</link>
    <description>Oracle stored procedures do not use the .profile when they shell out and create files.&lt;BR /&gt;&lt;BR /&gt;Therefore no umask.&lt;BR /&gt;&lt;BR /&gt;Therefore no default permissions.&lt;BR /&gt;&lt;BR /&gt;The fix is one of the following:&lt;BR /&gt;&lt;BR /&gt;1) Have the stored procedure issue a chmod command after creating the file.&lt;BR /&gt;2) Have the stored procedure call a script that incldues the .profile parameters prior to creating files.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Thu, 19 Aug 2004 18:37:28 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-08-19T18:37:28Z</dc:date>
    <item>
      <title>Permission problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permission-problem/m-p/3361420#M746970</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have a permission problems in two servers that runs Oracle Databases.&lt;BR /&gt;&lt;BR /&gt;I setup the same .profile file in both servers:&lt;BR /&gt;&lt;BR /&gt;(last lines in .profile oracle account)&lt;BR /&gt;&lt;BR /&gt;umask 022&lt;BR /&gt;export ORACLE_BASE=/usr/oracle&lt;BR /&gt;export ORACLE_HOME=/usr/oracle/product/8.1.7&lt;BR /&gt;export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1&lt;BR /&gt;export ORA_NLS33=/usr/oracle/product/8.1.7/ocommon/nls/admin/data&lt;BR /&gt;export ORACLE_SID=db&lt;BR /&gt;export PATH=:/usr/ccs/bin:/usr/oracle/product/8.1.7/bin:/usr/bin:/etc:/usr/sbin:/usr/bin/X11:$PATH&lt;BR /&gt;&lt;BR /&gt;The last lines for the oracle account in the other server with Oracle 9i:&lt;BR /&gt;&lt;BR /&gt;umask 022&lt;BR /&gt;export ORA_BASE=/usr/oracle&lt;BR /&gt;export ORACLE_HOME=/usr/oracle/product/Oracle9i&lt;BR /&gt;export ORACLE_SID=db2&lt;BR /&gt;export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1&lt;BR /&gt;export ORACLE_NLS33=/usr/oracle/product/Oracle9i/occommon/nls/admin/data&lt;BR /&gt;export ORACLE_RUN=/usr/oracle/admin&lt;BR /&gt;&lt;BR /&gt;Using an oracle store procedure, they generate some files under a directory, and the files are created with different permission:&lt;BR /&gt;&lt;BR /&gt;Server 1:&lt;BR /&gt; -rw-rw-r--&lt;BR /&gt;&lt;BR /&gt;Server 2:&lt;BR /&gt; -rw-r--r--&lt;BR /&gt;&lt;BR /&gt;How could I fix that behavior?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Vero.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Aug 2004 15:17:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permission-problem/m-p/3361420#M746970</guid>
      <dc:creator>Verónica Muñoz Segovia</dc:creator>
      <dc:date>2004-08-19T15:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Permission problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permission-problem/m-p/3361421#M746971</link>
      <description>Oracle stored procedures do not use the .profile when they shell out and create files.&lt;BR /&gt;&lt;BR /&gt;Therefore no umask.&lt;BR /&gt;&lt;BR /&gt;Therefore no default permissions.&lt;BR /&gt;&lt;BR /&gt;The fix is one of the following:&lt;BR /&gt;&lt;BR /&gt;1) Have the stored procedure issue a chmod command after creating the file.&lt;BR /&gt;2) Have the stored procedure call a script that incldues the .profile parameters prior to creating files.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 19 Aug 2004 18:37:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permission-problem/m-p/3361421#M746971</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-08-19T18:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Permission problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permission-problem/m-p/3361422#M746972</link>
      <description>We had the exact same issue.  Have your stored procedure call a script with the umask command in it.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;-Brian.</description>
      <pubDate>Fri, 20 Aug 2004 00:29:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permission-problem/m-p/3361422#M746972</guid>
      <dc:creator>Brian Markus</dc:creator>
      <dc:date>2004-08-20T00:29:49Z</dc:date>
    </item>
  </channel>
</rss>

