title: How to use Extended File Attributes on NFS?
body: <p>I have an <strong>NFS_Server - NFS_Client</strong> system.
  My client is <strong>mounted</strong> to an NFS_Server <strong>directory</strong>.
  I want to change the attribute of NFS_Server directory's files via NFS_Client mounted directory by using <strong>Extended File Attributes (xattr).</strong></p>
  
  <p>When I tried to set an attribute from the client side, it gives the following answer:   </p>
  
  <p>root@ubuntu:/mnt/nfs/var/nfs# <code>setfattr -n user.comment -v "some comment" test.txt</code>
  <code>setfattr: nfs.txt:</code> <strong>Permission denied</strong></p>
  
  <p><strong>My question is:</strong> </p>
  
  <ul>
  <li><p>is it possible to use Extended File Attributes via NFS?</p></li>
  <li><p>if possible, how can I do this?</p></li>
  </ul>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>Server side:</p>
  
  <pre><code>$ more  /etc/exports file has:    
  /var/nfs        192.168.56.123(rw,sync,no_subtree_check)
  </code></pre>
  
  <p>Client side:</p>
  
  <pre><code>$ root@ubuntu:/# mount -t nfs
  192.168.56.130:/var/nfs on /mnt/nfs/var/nfs type nfs (rw,vers=4,addr=192.168.56.130,clientaddr=192.168.56.123)
  </code></pre>
  
  <p>thank you...</p>