LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Trouble with read/write permissions mounting Ubuntu 10.04 Server on Solaris 7 client (https://www.linuxquestions.org/questions/linux-networking-3/trouble-with-read-write-permissions-mounting-ubuntu-10-04-server-on-solaris-7-client-812750/)

mrotsliah 06-07-2010 06:29 PM

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

AlucardZero 06-07-2010 07:06 PM

export with no_root_squash. by default NFS exports map root to the anonymous (no power) uid.

mrotsliah 06-07-2010 08:29 PM

Sweet! That did the trick. Thank you very much.


All times are GMT -5. The time now is 04:14 AM.