LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-07-2010, 06:29 PM   #1
mrotsliah
LQ Newbie
 
Registered: May 2009
Posts: 25

Rep: Reputation: 15
Trouble with read/write permissions mounting Ubuntu 10.04 Server on Solaris 7 client


I have two servers: Server1 running Solaris 7 and Server2 running Ubuntu 10.04 Server. I need to move files from Server1 to Server2 before I update the OS on Server1. I want Server 2 to be the mount server and Server1 to be the mount client.

On Server2, I have /etc/exports with the line

/Folder1 Server1.edu(rw,sync,no_subtree_check)

On Server1, I type as root

mount Server2.edu:/Folder1 /Folder2

When I type (as root) 'cp test /Folder2' on Server1, I get the error

cp: cannot create test: Permission denied

I umount \Folder2 and type

mount -o rw Server2.edu:/Folder1 /Folder2

thinking that it would give me read and write permissions. I type (as root) 'cp test /Folder2' on Server1. This time I get no error message, but the file test is not in the folder Server1:Folder2 or in the folder Server2:Folder1.

I have read online about Solaris having user id issues, but I don't even know what that means.

Am I doing something wrong? Is there a better way to do this or an easier way?

Thanks
 
Old 06-07-2010, 07:06 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,647

Rep: Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524
export with no_root_squash. by default NFS exports map root to the anonymous (no power) uid.
 
1 members found this post helpful.
Old 06-07-2010, 08:29 PM   #3
mrotsliah
LQ Newbie
 
Registered: May 2009
Posts: 25

Original Poster
Rep: Reputation: 15
Sweet! That did the trick. Thank you very much.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting cifs with read/write permissions for a non-root user icmp_request Linux - Networking 5 01-28-2014 12:33 PM
Mounting cifs with read/write permissions for a non-root user icmp_request Linux - Newbie 5 07-09-2009 08:16 PM
Mounting NFS share on client changes permissions to read-only GATTACA Linux - Server 1 12-03-2008 01:19 PM
NFS share not mounting with read/write permissions syphoncode.32 Linux - Software 1 06-15-2007 02:46 AM
trouble setting Read/Write permissions on vfat partitions mboxbg Linux - Newbie 1 02-17-2006 08:00 AM


All times are GMT -5. The time now is 03:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration