<?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: NFS default permission in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/NFS-default-permission/m-p/99265#M7543</link>
    <description>&lt;P&gt;What are the file permissions on the volume?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If they are anything 5 or lower, then you are only getting read access based on the export. Since you have not defined a root client, you might be getting squashed to the anon user, which falls into a different mode bit permission set than the owner, unless that owner is anon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, my export looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;/vol/nfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -sec=sys,rw,nosuid&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file permissions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;filer&amp;gt; fsecurity show /vol/nfs&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[/vol/nfs - Directory (inum 64)]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; Security style: Unix&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; Effective style: Unix&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; DOS attributes: 0x0010 (----D---)&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; Unix security:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uid: 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gid: 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: 0777 (rwxrwxrwx)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; No security descriptor available.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With those permissions, I can write:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 /]# mount | grep /vol/nfs&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;10.63.9.69:/vol/nfs on /7mode type nfs (rw,nfsvers=3,addr=10.63.9.69)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 /]# cd /7mode&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 7mode]# touch newfile&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But notice who the owner is...&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 7mode]# ls -la | grep newfile&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r--r--.&amp;nbsp; 1 nfsnobody nfsnobody&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 21 Jan 14&amp;nbsp; 2015 newfile&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 7mode]# ls -lan | grep newfile&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r--r--.&amp;nbsp; 1&amp;nbsp;&amp;nbsp; 65534 65534&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 21 Jan 14&amp;nbsp; 2015 newfile&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is despite me being root:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 7mode]# id&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also can't chmod, as the system doesn't think I am root:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 /]# chmod 755 7mode&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;chmod: changing permissions of `7mode': Operation not permitted&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I add root to the export, I can chmod.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;/vol/nfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -sec=sys,rw,root=10.228.225.140,nosuid&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 /]# chmod 755 7mode&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 /]# ls -la | grep 7mode&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;drwxr-xr-x.&amp;nbsp;&amp;nbsp; 6 root root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 Oct&amp;nbsp; 7 23:59 7mode&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I change the export back to rw, root cannot write (just like in your scenario):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;/vol/nfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -sec=sys,rw,nosuid&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 7mode]# touch noroot&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;touch: cannot touch `noroot': Permission denied&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Think of exports as share permissions in Windows and mode bits as ACLs in Windows. In a CIFS environment, if your share allows you full control, you can still get denied access if the ACL denies you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Users must authenticate to prove who they are to the storage and then once authenticated, the permissions will determine true access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have two options:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Open file permissions up to more users/groups&lt;/P&gt;&lt;P&gt;2) Add root= to your exports.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jan 2015 20:02:23 GMT</pubDate>
    <dc:creator>parisi</dc:creator>
    <dc:date>2015-01-14T20:02:23Z</dc:date>
    <item>
      <title>NFS default permission</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/NFS-default-permission/m-p/98731#M7531</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new netapp. Pls help me clarify my doubt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I create a volume with the name &lt;STRONG&gt;testvol&lt;/STRONG&gt; on my filer node3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I export the volume using the command &lt;STRONG&gt;rsh node3 exportfs -v /vol/testvol&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I do &lt;STRONG&gt;rsh node3 exportfs | grep -i testvol&lt;/STRONG&gt; I get below output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/vol/testvool -sec=sys,rw&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per my knowledge when I export a volume like this it should be writeable by all nfs clients&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I mount the volume on a clinet on a dir /test&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After &amp;nbsp;I mount the volume on the client if I do cd /test and do touch 1 it says perm denied. According to me it should not show perm denied since the volume is global rw.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pls let me know why it shows perm denied&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Veerendra&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:21:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/NFS-default-permission/m-p/98731#M7531</guid>
      <dc:creator>VEERENDRA84</dc:creator>
      <dc:date>2025-06-05T05:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: NFS default permission</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/NFS-default-permission/m-p/99265#M7543</link>
      <description>&lt;P&gt;What are the file permissions on the volume?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If they are anything 5 or lower, then you are only getting read access based on the export. Since you have not defined a root client, you might be getting squashed to the anon user, which falls into a different mode bit permission set than the owner, unless that owner is anon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, my export looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;/vol/nfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -sec=sys,rw,nosuid&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file permissions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;filer&amp;gt; fsecurity show /vol/nfs&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[/vol/nfs - Directory (inum 64)]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; Security style: Unix&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; Effective style: Unix&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; DOS attributes: 0x0010 (----D---)&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; Unix security:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uid: 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gid: 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: 0777 (rwxrwxrwx)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; No security descriptor available.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With those permissions, I can write:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 /]# mount | grep /vol/nfs&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;10.63.9.69:/vol/nfs on /7mode type nfs (rw,nfsvers=3,addr=10.63.9.69)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 /]# cd /7mode&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 7mode]# touch newfile&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But notice who the owner is...&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 7mode]# ls -la | grep newfile&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r--r--.&amp;nbsp; 1 nfsnobody nfsnobody&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 21 Jan 14&amp;nbsp; 2015 newfile&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 7mode]# ls -lan | grep newfile&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r--r--.&amp;nbsp; 1&amp;nbsp;&amp;nbsp; 65534 65534&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 21 Jan 14&amp;nbsp; 2015 newfile&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is despite me being root:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 7mode]# id&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also can't chmod, as the system doesn't think I am root:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 /]# chmod 755 7mode&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;chmod: changing permissions of `7mode': Operation not permitted&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I add root to the export, I can chmod.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;/vol/nfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -sec=sys,rw,root=10.228.225.140,nosuid&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 /]# chmod 755 7mode&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 /]# ls -la | grep 7mode&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;drwxr-xr-x.&amp;nbsp;&amp;nbsp; 6 root root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 Oct&amp;nbsp; 7 23:59 7mode&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I change the export back to rw, root cannot write (just like in your scenario):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;/vol/nfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -sec=sys,rw,nosuid&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@centos64 7mode]# touch noroot&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;touch: cannot touch `noroot': Permission denied&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Think of exports as share permissions in Windows and mode bits as ACLs in Windows. In a CIFS environment, if your share allows you full control, you can still get denied access if the ACL denies you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Users must authenticate to prove who they are to the storage and then once authenticated, the permissions will determine true access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have two options:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Open file permissions up to more users/groups&lt;/P&gt;&lt;P&gt;2) Add root= to your exports.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2015 20:02:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/NFS-default-permission/m-p/99265#M7543</guid>
      <dc:creator>parisi</dc:creator>
      <dc:date>2015-01-14T20:02:23Z</dc:date>
    </item>
  </channel>
</rss>

