<?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 Access Permissions in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262778#M177310</link>
    <description>If the files are only -rw------- and are owned by userb then therer are 3 ways I can think of for usera to be able to read them:&lt;BR /&gt;&lt;BR /&gt;1) Have usera log in to that machine as userb -- probably not good security-wise&lt;BR /&gt;&lt;BR /&gt;2) Make the files group readable since both users are in the dba group -- chmod g+r filename&lt;BR /&gt;&lt;BR /&gt;3) Make the files world readable -- chmod o+r filename -- probably not a good option security wise either.&lt;BR /&gt;&lt;BR /&gt;I'd go for option 2 if at all possible.</description>
    <pubDate>Thu, 29 Apr 2004 08:13:45 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2004-04-29T08:13:45Z</dc:date>
    <item>
      <title>File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262777#M177309</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have an issue which needs some help. I have a user on a box, who needs to ftp files from a particular directory to another server. Say this user is A. &lt;BR /&gt;&lt;BR /&gt;There is another user B who owns these said files. &lt;BR /&gt;&lt;BR /&gt;Both users A and B belong to a group dba. &lt;BR /&gt;&lt;BR /&gt;The problem is that the files created have only rw permissions for the OWNER ie B. Group dba does not have READ access to these files. &lt;BR /&gt;&lt;BR /&gt;So how do we ensure that User A can read these files to ftp ?&lt;BR /&gt;&lt;BR /&gt;Please help. Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;Pat</description>
      <pubDate>Thu, 29 Apr 2004 08:06:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262777#M177309</guid>
      <dc:creator>patrick coutinho</dc:creator>
      <dc:date>2004-04-29T08:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262778#M177310</link>
      <description>If the files are only -rw------- and are owned by userb then therer are 3 ways I can think of for usera to be able to read them:&lt;BR /&gt;&lt;BR /&gt;1) Have usera log in to that machine as userb -- probably not good security-wise&lt;BR /&gt;&lt;BR /&gt;2) Make the files group readable since both users are in the dba group -- chmod g+r filename&lt;BR /&gt;&lt;BR /&gt;3) Make the files world readable -- chmod o+r filename -- probably not a good option security wise either.&lt;BR /&gt;&lt;BR /&gt;I'd go for option 2 if at all possible.</description>
      <pubDate>Thu, 29 Apr 2004 08:13:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262778#M177310</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-04-29T08:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262779#M177311</link>
      <description>if duplicating uid doesn't matter then goahead. else let us wait for some gurus reply..&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;Bala</description>
      <pubDate>Thu, 29 Apr 2004 08:13:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262779#M177311</guid>
      <dc:creator>baluchen</dc:creator>
      <dc:date>2004-04-29T08:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262780#M177312</link>
      <description>Hello Patrick&lt;BR /&gt;&lt;BR /&gt;The group doesn't matter as A and B are on different server.&lt;BR /&gt;&lt;BR /&gt;Can A log as B on the remote system ? If so, B privilege will apply using ftp :&lt;BR /&gt;ftp -n &amp;lt;&amp;lt; EOF&lt;BR /&gt;user A A_password&lt;BR /&gt;cd path&lt;BR /&gt;mget filenames&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;Have you consider using rcp :&lt;BR /&gt;On remote host, create a file in the B home directory like this &lt;BR /&gt;# cat &amp;gt; .rhosts&lt;BR /&gt;A_hostname A&lt;BR /&gt;^D&lt;BR /&gt;Logged as A, type :&lt;BR /&gt;rcp B_hostname:path/filename A_hostname:path&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Nicolas&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Apr 2004 08:15:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262780#M177312</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2004-04-29T08:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262781#M177313</link>
      <description>If userA and B are in the same group on the server you want to ftp from. (dba) then make the files r by group. &lt;BR /&gt;&lt;BR /&gt;Thats probably the easiest, and most secure way. &lt;BR /&gt;&lt;BR /&gt;You could make the umask 037 (rwxr-----) for UserB. &lt;BR /&gt;&lt;BR /&gt;so that the files are created with the correct permissions. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Apr 2004 08:24:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262781#M177313</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2004-04-29T08:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262782#M177314</link>
      <description>Is there an issue if user B start creating files with a read permission to group ! (Assume both the gids are the same).&lt;BR /&gt;&lt;BR /&gt;Change the umask for user-A so that he creates all files with a read to the group&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Thu, 29 Apr 2004 08:31:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262782#M177314</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-04-29T08:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262783#M177315</link>
      <description>If you're concerned about the security perspective of this issue, the safest way is to change the permissions of the necessary files so that the group has read (and write, if necessary) access since both users A and B belong to the dba group.  No sense making the files world writable, that would be bad practice.&lt;BR /&gt;&lt;BR /&gt;If these users need continual access to new files that will continue to be created by each other, Marvin had a good suggestion to set the umask so that the group permissions will be populated correctly at the time the files are created.</description>
      <pubDate>Thu, 29 Apr 2004 08:36:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262783#M177315</guid>
      <dc:creator>Dani Seely</dc:creator>
      <dc:date>2004-04-29T08:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262784#M177316</link>
      <description>ftp follows the rules for the remote end. The reason is that ftp works on many, many platforms, some of which do not have the concept of a group or permissions. For Unix to Unix, you can set the ftp daemon to create all ne files with a specific umask in /etc/inetd.conf by specifying the -u option:&lt;BR /&gt; &lt;BR /&gt;ftp stream tcp nowait root /usr/lbin/ftpd  ftpd -l -u 007&lt;BR /&gt; &lt;BR /&gt;In this case, all files sent to this server will have rw permission for both group and user. This is of course true for all files and directories created at that machine. However, a better solution is to use chmod after transferring the files. This is of course dependent on your local version of ftp. HP-UX and Linux and many other Unices have chmod as an ftp command.</description>
      <pubDate>Thu, 29 Apr 2004 09:12:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262784#M177316</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-04-29T09:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262785#M177317</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;this thread has some stuff about the umask-ftp aspect:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=278349" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=278349&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Volker</description>
      <pubDate>Thu, 29 Apr 2004 11:12:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262785#M177317</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2004-04-29T11:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262786#M177318</link>
      <description>Hi Pat,&lt;BR /&gt;&lt;BR /&gt;If it is not a problem, let user B create the files with a umash 036. You can add "umask 036" in user B profile. &lt;BR /&gt;&lt;BR /&gt;Remember if you do this, all the files created by userB will have read permission for the group.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Apr 2004 11:23:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262786#M177318</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-04-29T11:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262787#M177319</link>
      <description>Get sudo and allow user a to do ftp.&lt;BR /&gt;(Effectively ftp will be run as root by usera)&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Thu, 29 Apr 2004 11:29:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262787#M177319</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-04-29T11:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262788#M177320</link>
      <description>Thanks everyone,&lt;BR /&gt;&lt;BR /&gt;for so much super advice. I have a question. forgive me, for asking it as i am a novice new to HPUX. my question is "CAN ACL's HELP US out HERE? "&lt;BR /&gt;&lt;BR /&gt;Points assigned. many THANX to all my friends.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;pat</description>
      <pubDate>Thu, 29 Apr 2004 14:43:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262788#M177320</guid>
      <dc:creator>patrick coutinho</dc:creator>
      <dc:date>2004-04-29T14:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262789#M177321</link>
      <description>ACL (Access Control Lists) are an extension to basic file permissions. However, none of the ACL commands (chmod doesn't control ACLs) are available in ftp. An ACL can provide a finer control over the permissions with specific users. However, after you read the man pages:&lt;BR /&gt; &lt;BR /&gt;man 5 acl&lt;BR /&gt;man aclv&lt;BR /&gt; &lt;BR /&gt;you will probably not want to play with them. And certain versions of HP-UX and VxFS filesystems do not support ACLs. They don't work over NFS.</description>
      <pubDate>Thu, 29 Apr 2004 14:53:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262789#M177321</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-04-29T14:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262790#M177322</link>
      <description>Thanks Bill for the info. The system i have is a Oracle Financials systems and the user is applprod i.e. the oracle appls user. I am not sure whether i should add umask 033 in the user .profile. that would cause LL files generated by this user to have the permissions rwxr--r--. What do u think ?&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;&lt;BR /&gt;pat&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Apr 2004 06:18:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262790#M177322</guid>
      <dc:creator>patrick coutinho</dc:creator>
      <dc:date>2004-04-30T06:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262791#M177323</link>
      <description>umask is a 'take-away' mask. So a zero means all starting bits on. But MOST important: files are never given x (execute) permission from umask. The 'starting' bits for a file is 666 (rw-rw-rw) and the bits for a directory are 777 (rwxrwxrwx). umask 033 will produce files that are 644 (rw-r--r--), which is exactly the same as umask 022 for files. 033 will create directories that are 744 (rwxr--r--). Try these commands to see the effects:&lt;BR /&gt; &lt;BR /&gt;umask 000 ; touch f000&lt;BR /&gt;umask 022 ; touch f022&lt;BR /&gt;umask 033 ; touch f033&lt;BR /&gt;umask 777 ; touch f777&lt;BR /&gt; &lt;BR /&gt;umask 000 ; mkdir d000&lt;BR /&gt;umask 022 ; mkdir d022&lt;BR /&gt;umask 033 ; mkdir d033&lt;BR /&gt;umask 777 ; mkdir d777&lt;BR /&gt;&lt;BR /&gt;ls -ld f??? d???&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Apr 2004 07:43:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262791#M177323</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-04-30T07:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262792#M177324</link>
      <description>Thanks Bill. will try this out&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;Pat&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Apr 2004 15:22:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262792#M177324</guid>
      <dc:creator>patrick coutinho</dc:creator>
      <dc:date>2004-04-30T15:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262793#M177325</link>
      <description>Hello Pat,&lt;BR /&gt;I assume this is your first experience on the ITRC forum as you did not award points to the forumers for the answers you were provided.  May I suggest that you take a look at the following link to learn about the points system in use here.  Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please read the article, assess the assistance you were provided by the forumers, then reward them.  Thanks!</description>
      <pubDate>Tue, 18 May 2004 22:37:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262793#M177325</guid>
      <dc:creator>Dani Seely</dc:creator>
      <dc:date>2004-05-18T22:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: File Access Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262794#M177326</link>
      <description>Dear Friends,&lt;BR /&gt;&lt;BR /&gt;I apologize for this mistake. It was totally unintended. I think i am having problems with my browser. Please accept my apologies. This forum is priceless for me. Will take extra care in the future. Will apply the points right away.&lt;BR /&gt;&lt;BR /&gt;thanks &amp;amp; Regards&lt;BR /&gt;&lt;BR /&gt;Pat</description>
      <pubDate>Wed, 19 May 2004 02:05:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-access-permissions/m-p/3262794#M177326</guid>
      <dc:creator>patrick coutinho</dc:creator>
      <dc:date>2004-05-19T02:05:09Z</dc:date>
    </item>
  </channel>
</rss>

