<?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: Write permissions in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843352#M91666</link>
    <description>Guys, you were all rights. I'm sorry I'm new using HP-UX. Bill you opened my mind. I've changed the umask under /etc/profile and now, rlogin, remsh and telnet are working as I wish. But the files handled by database are still in 600 format. I dont't know which file I have to modify. I'm using OracleApplicattions on Server2 I use a user to login into this and background, I think that appltest make a conexion whith server3 and the user oraprod is responsable for creating the files. I tried to change the .login and .profile (oraprod) but this didn't work. Can you help me a little bit more? Thank you a lot.</description>
    <pubDate>Wed, 13 Nov 2002 12:21:35 GMT</pubDate>
    <dc:creator>Ricardo_19</dc:creator>
    <dc:date>2002-11-13T12:21:35Z</dc:date>
    <item>
      <title>Write permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843344#M91658</link>
      <description>Hy guys. I have 3 server HP-UX 11.0 I'm using server2 and when the user oraprod using the applicattion or using rlogin or remsh, writes anything on server3 under /usr/tmp, the file permissions are rw------ , but when this user is logged in server3 the file is 664. When I do de same from server2 to server1 the file is 664 too. I'd like that the user under server2 using rlogin or other writes 664 under /var/tmp under oracle3. Can anybody help me? Why is this happening? Thanks in advance!</description>
      <pubDate>Tue, 12 Nov 2002 18:12:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843344#M91658</guid>
      <dc:creator>Ricardo_19</dc:creator>
      <dc:date>2002-11-12T18:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Write permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843345#M91659</link>
      <description>Look for a umask command in the login scripts..&lt;BR /&gt;/etc/profile&lt;BR /&gt;Users .profile&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Tue, 12 Nov 2002 18:12:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843345#M91659</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-11-12T18:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Write permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843346#M91660</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;What is the umask set to in /etc/profile?&lt;BR /&gt;&lt;BR /&gt;Is it different then what is set up for the user remsh'ing into as?&lt;BR /&gt;&lt;BR /&gt;You may want to source in the .profile prior to running commands, like in the example given in the man pages:&lt;BR /&gt;&lt;BR /&gt;# remsh otherhost . .profile 2&amp;gt;&amp;amp;- \; command&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Chris&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Nov 2002 18:20:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843346#M91660</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2002-11-12T18:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Write permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843347#M91661</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can check umask on server server3.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Tue, 12 Nov 2002 18:21:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843347#M91661</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2002-11-12T18:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Write permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843348#M91662</link>
      <description>Thank you John, but I looked the files and they're the same. Do you have any other suggestion?</description>
      <pubDate>Tue, 12 Nov 2002 18:31:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843348#M91662</guid>
      <dc:creator>Ricardo_19</dc:creator>
      <dc:date>2002-11-12T18:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Write permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843349#M91663</link>
      <description>Guys, I must be doing some thing wrong, and I don't know if I made myself clear. The application on server2 use the user 'oraprod' to write files into server3 under /usr/tmp and use the user 'oratest' to write files into server1 under /usr/tmp but the files in server1 keeps 664 and and server3 keeps 6--. But if write directly in the directory in server3 the files are created with 664. I need 664 even with the remote conexion. Thank you for your help.</description>
      <pubDate>Tue, 12 Nov 2002 19:00:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843349#M91663</guid>
      <dc:creator>Ricardo_19</dc:creator>
      <dc:date>2002-11-12T19:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Write permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843350#M91664</link>
      <description>And the /etc/profile are the same in the 3 servers</description>
      <pubDate>Tue, 12 Nov 2002 19:04:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843350#M91664</guid>
      <dc:creator>Ricardo_19</dc:creator>
      <dc:date>2002-11-12T19:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Write permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843351#M91665</link>
      <description>You need to type the command: umask&lt;BR /&gt;when logged in as each user. Something you may have missed in the description: are you using Xwindows? If so, you may be getting messed up with the no-profile startup that is the default (dumb as it sounds) for CDE environment. The key is that there must be an explicit umask set for the default creation of files. Another thing is the method of creation: are you using vi or touch? Or are you using an Oracle program to create the files?&lt;BR /&gt;&lt;BR /&gt;To simplify, use an explicit telnet session to each server, then touch a file in /var/tmp (there is no such thing as /usr/tmp--it was obsolete 10 years ago and replaced with a temporary symlink, see man tlinstall). Check the results. Then do the same with rlogin. NOTE: this is from Unix to Unix...using Unix commands on a Windows PC throws in some additional uncertainty.&lt;BR /&gt;&lt;BR /&gt;And finally, remsh will always bypass the login profiles so you must explicitly set permissions. rcp requires -p to retain the permissions of the source file at the destination. telnet, remsh, rlogin and remsh are not equivalent commands nor do they inherit the same environment.</description>
      <pubDate>Tue, 12 Nov 2002 19:25:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843351#M91665</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-11-12T19:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Write permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843352#M91666</link>
      <description>Guys, you were all rights. I'm sorry I'm new using HP-UX. Bill you opened my mind. I've changed the umask under /etc/profile and now, rlogin, remsh and telnet are working as I wish. But the files handled by database are still in 600 format. I dont't know which file I have to modify. I'm using OracleApplicattions on Server2 I use a user to login into this and background, I think that appltest make a conexion whith server3 and the user oraprod is responsable for creating the files. I tried to change the .login and .profile (oraprod) but this didn't work. Can you help me a little bit more? Thank you a lot.</description>
      <pubDate>Wed, 13 Nov 2002 12:21:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843352#M91666</guid>
      <dc:creator>Ricardo_19</dc:creator>
      <dc:date>2002-11-13T12:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Write permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843353#M91667</link>
      <description>What user do you use to start the listener / application server ?&lt;BR /&gt;What are the permissions (umask) of this user when you 1st started the services ?&lt;BR /&gt;&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Wed, 13 Nov 2002 12:45:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843353#M91667</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2002-11-13T12:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Write permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843354#M91668</link>
      <description>Have you restarted your application? umask is a setting associated with a process and is inherited from its parent. After changing the .profile, you'd have to restart all the processes.&lt;BR /&gt;&lt;BR /&gt;Also, I'd look to add the umask command to the script that starts the application, rather than relying on .profile. That way you know exactly what the umask setting is and are not relying on the inherited setting.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Nov 2002 12:47:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843354#M91668</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-11-13T12:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Write permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843355#M91669</link>
      <description>It is important to note that umask is only applicable to new files being created. Current file permissions will not be automagically be updated. If you need the current existing file permissions changed you will need to do them manually with the chmod command.&lt;BR /&gt;&lt;BR /&gt;Gerhard</description>
      <pubDate>Wed, 13 Nov 2002 17:21:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843355#M91669</guid>
      <dc:creator>Gerhard Roets</dc:creator>
      <dc:date>2002-11-13T17:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Write permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843356#M91670</link>
      <description>I really restarted the application, to tell you the true, I stoped the application and the database, and started all over again. It's getting a little confused for me because I'm not so good dealing with oracle database, I used to be a windows guy. I found the script that start the appl, but I couldn't found anything there, so I put the umask 00 into the file, but that didn't work either and the script (appl_start.sh) in this case call other scripts, other interesting thing is that in server1 everything is working fine, and when I compare the files its all the same, as far as I could see of course, the directory permissions, the owner, the scripts etc. But ok guys, thank you a lot for your help and comments. I don't want to disturb you anymore with this doubt. I'll try to verify other files and search a little more in order to correct the problem, and carefully follow everythind you said to me. Rgs.</description>
      <pubDate>Thu, 14 Nov 2002 11:41:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-permissions/m-p/2843356#M91670</guid>
      <dc:creator>Ricardo_19</dc:creator>
      <dc:date>2002-11-14T11:41:09Z</dc:date>
    </item>
  </channel>
</rss>

