Red Squirrel
No Lifer
Everything I read says to not use root squash. So without using that, what is the preferred method of moving files around NFS? This should be simple but due to how Linux permissions work it's rendered complicated.
Say I'm root on server 1, I have a NFS mount on server 2 with files that I want. I need to be root, because the place I want to put the files is only accessible via root, and the files on the NFS server are owned by root, or other user.
This wont work, unless I enable root squash. So how are situations like this typically handled? I can do a multi step process by zipping it up at the file server, changing the permissions to a regular user account, then using a regular user to copy it from the NFS share to that user's home directory, but there's got to be a better way to deal with this.
Say I'm root on server 1, I have a NFS mount on server 2 with files that I want. I need to be root, because the place I want to put the files is only accessible via root, and the files on the NFS server are owned by root, or other user.
This wont work, unless I enable root squash. So how are situations like this typically handled? I can do a multi step process by zipping it up at the file server, changing the permissions to a regular user account, then using a regular user to copy it from the NFS share to that user's home directory, but there's got to be a better way to deal with this.