Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NFS from command prompt

Status
Not open for further replies.

ManagerJay

IS-IT--Management
Jul 24, 2000
302
US
I have NFS setup and basically working, but I would like to tweak it a little bit to make it work exactly the way I would like for it to, but can't seem to find the right combination.

On my server, I have NFS setup and working and as long I connect to the share from a workstation and use a KDE to move files, everything works fine.

When I drop out to the command prompt and try to copy or move files, I receive a "Permission Denied" error. However, if I su to root, I am able to write to the share without any problems.

On the server, my /etc/exports file contains the following:

/home/hallja 10.X.X.X(rw,no_root_squash)

Both users gave the same UID on both systems.

The server is running RedHat 6.2 and the workstation is running RedHat 7.2.

If I remove no_root_Squash, root is not able to write to the share either. But, my understanding of NFS is that this is by design.

Any suggestions would be greatly appreciated. Thanks in advance for your help.




Jay
 
Yes, the UIDs are the same.

What had happened is the person I was working with was changing the ownership on the directory to root since they could not get something to work the way they wanted it to.

I would change it, then they would change it back. Now that is resolved and everything is working like it should.

Thanks for your help.


Jay
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top