<?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: 11.31 NFS permission deny in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/11-31-nfs-permission-deny/m-p/4228776#M328344</link>
    <description>Hi Louis,&lt;BR /&gt;&lt;BR /&gt;The question is: what users are trying to create files in /opt on the NFS server?  Was this the root user on the client that was unable to create files in /opt until you opened up the permissions on the server's directory?  When you opened up the /opt directory permissions and the user was able to create a file, what was the uid/gid of the file that was created?  I'm wondering if they were -2.&lt;BR /&gt;&lt;BR /&gt;If that's the case you could get around that problem by sharing the filesystem with a root= list that includes the client's fully-qualified hostname.  That would tell the server to treat requests originating from the root user on the client as a root user on the server rather than re-mapping the UID/GID to -2.  &lt;BR /&gt;&lt;BR /&gt;If you're wanting normal users to be able to create files in /opt on the server then you'd likely have to open up the permissions of the directory on the server, just as you would if you wanted these users to create files in /opt on the local system.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave</description>
    <pubDate>Tue, 08 Jul 2008 02:21:01 GMT</pubDate>
    <dc:creator>Dave Olker</dc:creator>
    <dc:date>2008-07-08T02:21:01Z</dc:date>
    <item>
      <title>11.31 NFS permission deny</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11-31-nfs-permission-deny/m-p/4228770#M328338</link>
      <description>Dear All,&lt;BR /&gt;In NFS server:&lt;BR /&gt;vi /etc/dfs/dfstab&lt;BR /&gt;share -F nfs /tmp&lt;BR /&gt;share -F nfs /opt&lt;BR /&gt;&lt;BR /&gt;In NFS client:( it is 11.31 too)&lt;BR /&gt;mount server:/tmp /mountpoint1&lt;BR /&gt;touch newfile  &amp;lt;&amp;lt;&amp;lt;&lt;IT is="" ok=""&gt;&lt;/IT&gt;&lt;BR /&gt;mount server:/opt /mountpoint2&lt;BR /&gt;touch newfile  &amp;lt;&amp;lt;&amp;lt; newfile="" cannot="" create=""&amp;gt;&lt;BR /&gt;I found the problem is different permission of "/tmp and /opt" of nfs server.&lt;BR /&gt;If I change the permission of /opt, I can also touch the file.&lt;BR /&gt;Could you give some suggest to let client has read write permission when mount "/opt of NFS server".&lt;BR /&gt;Actually I did not want to change the permission of /opt of NFS server.&lt;BR /&gt;Thanks, Louis</description>
      <pubDate>Mon, 07 Jul 2008 08:55:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11-31-nfs-permission-deny/m-p/4228770#M328338</guid>
      <dc:creator>lin.chen</dc:creator>
      <dc:date>2008-07-07T08:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: 11.31 NFS permission deny</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11-31-nfs-permission-deny/m-p/4228771#M328339</link>
      <description>Hi Louis,&lt;BR /&gt;&lt;BR /&gt;I do not think that you can change the NFS server permission from the client side. It nulls all the security if you can change the permission from the client side.&lt;BR /&gt;&lt;BR /&gt;What exportfs command you used to export the FS.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rasheed Tamton.</description>
      <pubDate>Mon, 07 Jul 2008 09:59:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11-31-nfs-permission-deny/m-p/4228771#M328339</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-07-07T09:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: 11.31 NFS permission deny</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11-31-nfs-permission-deny/m-p/4228772#M328340</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;showmount -e hostname_of_server&lt;BR /&gt;&lt;BR /&gt;To see what mount points are available.&lt;BR /&gt;&lt;BR /&gt;Then check permissions on the server.&lt;BR /&gt;&lt;BR /&gt;Sharing /tmp should not be a problem but there are possible security concerns with sharing /opt&lt;BR /&gt;&lt;BR /&gt;/var/adm/syslog/syslog.log should be checked on the server.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 07 Jul 2008 10:06:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11-31-nfs-permission-deny/m-p/4228772#M328340</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-07-07T10:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: 11.31 NFS permission deny</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11-31-nfs-permission-deny/m-p/4228773#M328341</link>
      <description>&amp;gt;SEP: Sharing /tmp should not be a problem but there are possible security concerns with sharing /opt&lt;BR /&gt;&lt;BR /&gt;If you export /opt as readonly it should be fine.  That's how NFS diskless worked.</description>
      <pubDate>Mon, 07 Jul 2008 11:58:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11-31-nfs-permission-deny/m-p/4228773#M328341</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-07T11:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: 11.31 NFS permission deny</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11-31-nfs-permission-deny/m-p/4228774#M328342</link>
      <description>Thanks a lot for your reply.&lt;BR /&gt;"/tmp and /opt" just is example.&lt;BR /&gt;I mean if the directory need to share did not has the "write permission" for Others.How can mount it from client with "read and write" permission?</description>
      <pubDate>Mon, 07 Jul 2008 14:01:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11-31-nfs-permission-deny/m-p/4228774#M328342</guid>
      <dc:creator>lin.chen</dc:creator>
      <dc:date>2008-07-07T14:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: 11.31 NFS permission deny</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11-31-nfs-permission-deny/m-p/4228775#M328343</link>
      <description>Hi Lin,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;you may want to change permission on /opt itself.&lt;BR /&gt;if /opt has this permission, then no one could write to it even you have -o rw&lt;BR /&gt;dr-xr-xr-x  100 bin        bin           3072 Apr 25 16:05 /opt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In NFS server:&lt;BR /&gt;vi /etc/dfs/dfstab&lt;BR /&gt;share -F nfs /tmp&lt;BR /&gt;share -F nfs -o rw  /opt&lt;BR /&gt;&lt;BR /&gt;Tom,</description>
      <pubDate>Tue, 08 Jul 2008 02:06:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11-31-nfs-permission-deny/m-p/4228775#M328343</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2008-07-08T02:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: 11.31 NFS permission deny</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11-31-nfs-permission-deny/m-p/4228776#M328344</link>
      <description>Hi Louis,&lt;BR /&gt;&lt;BR /&gt;The question is: what users are trying to create files in /opt on the NFS server?  Was this the root user on the client that was unable to create files in /opt until you opened up the permissions on the server's directory?  When you opened up the /opt directory permissions and the user was able to create a file, what was the uid/gid of the file that was created?  I'm wondering if they were -2.&lt;BR /&gt;&lt;BR /&gt;If that's the case you could get around that problem by sharing the filesystem with a root= list that includes the client's fully-qualified hostname.  That would tell the server to treat requests originating from the root user on the client as a root user on the server rather than re-mapping the UID/GID to -2.  &lt;BR /&gt;&lt;BR /&gt;If you're wanting normal users to be able to create files in /opt on the server then you'd likely have to open up the permissions of the directory on the server, just as you would if you wanted these users to create files in /opt on the local system.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Tue, 08 Jul 2008 02:21:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11-31-nfs-permission-deny/m-p/4228776#M328344</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2008-07-08T02:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: 11.31 NFS permission deny</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/11-31-nfs-permission-deny/m-p/4228777#M328345</link>
      <description>&amp;gt;I mean if the directory need to share did not has the "write permission" for Others.  How can mount it from client with "read and write" permission?&lt;BR /&gt;&lt;BR /&gt;You have N barriers:&lt;BR /&gt;1) The permission of the file.&lt;BR /&gt;(Not a problem if you own the file since you can change it.  If you are root, you can su and be the owner, unless owner is root and you have root set to less than nobody.  ;-)&lt;BR /&gt;2) How the filesystem is mounted.&lt;BR /&gt;3) How the filesystem is exported.</description>
      <pubDate>Tue, 08 Jul 2008 10:28:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/11-31-nfs-permission-deny/m-p/4228777#M328345</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-08T10:28:22Z</dc:date>
    </item>
  </channel>
</rss>

