Solved

NFS on Solaris, how to enable write from nfs client end ?

Posted on 2012-03-16
5
578 Views
Last Modified: 2012-03-26
I have configured a NFS server and a client nod following this link http://technodope.com/index.php?option=com_content&view=article&id=51:how-to-configure-nfs-data-source-on-solaris-10&catid=50:unix&Itemid=78

Both are Solaris 10 x86 servers.

I have created a test file in the NFS server's shared folder. And I can access it from the NFS client nod's mounted folder. So NFS is working fine it's seems.

And also I need to edit that file from the NFS client nod. I have given 777 permission to the same file on the NFS server's end. But it wont allow me to edit it.

Please help me to resolve this !
0
Comment
Question by:Shakthi777
  • 2
  • 2
5 Comments
 
LVL 11

Assisted Solution

by:legolasthehansy
legolasthehansy earned 333 total points
ID: 37729261
Are you trying to access the share on the client using root or as a user? If you are accessing as root you would need to make sure no_root_squash option is defined
0
 

Author Comment

by:Shakthi777
ID: 37729801
The both of the boxes are configured with the same root password, I didn't use any other authentication. Please advise ?
0
 
LVL 11

Accepted Solution

by:
legolasthehansy earned 333 total points
ID: 37729856
Try this on the Solaris server,

share -F nfs -o rw,root=nfs_client_ip /nfs_share_dir

This enables the root user on the NFS client to modify files
0
 
LVL 34

Assisted Solution

by:Duncan Roe
Duncan Roe earned 167 total points
ID: 37733786
You have to read the man page for /etc/fstab or whatever the file is under Solaris that you edited to create the NFS mount. Also the NFS-specific section of the man page for the mount command (i.e. man mount). Then you would understand about no_root_squash. No I'm not going to post a brief summary here.
0
 

Author Closing Comment

by:Shakthi777
ID: 37765412
tnx !
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now