Copying via NFS - file permissions

Discussion about using NAS on Linux and Unix OS.
New here
Posts: 8
Joined: Sun Dec 02, 2012 7:09 pm

Copying via NFS - file permissions

Postby pkf » Sun Jul 22, 2018 6:55 am

I copy files from linux to qnap via NFS. Can I copy them in such way that the copied files would be accessible by qnap users who have access to certain shared folder? Now it doesn't work, looks like I have to manually change the files permissions after copying. Thank you.

User avatar
Posts: 43557
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku

Re: Copying via NFS - file permissions

Postby schumaku » Sun Jul 29, 2018 1:58 am

Well, welcome to NFS. U*x mask, users (sid), group (gid), ACLs, ... it's all under the full control of the NFS client, where you mount the stuff. Consider to migrate towards using SMB instead of NFS mounts.

Starting out
Posts: 26
Joined: Tue Nov 10, 2015 6:56 pm

Re: Copying via NFS - file permissions

Postby CarbonPepper » Mon Aug 13, 2018 12:25 am

As long as each user's UID number is the same on the linux machine and the QNAP, it should be easy.
Then it can be done using cp -p (Preserve)

This might help:
TVS-471 with 4x WD Red 3Tb
Mix of clients: Ubuntu Linux, Mac OS, Windows 7, 8.1 & 10.

Return to “Linux & Unix (NFS)”

Who is online

Users browsing this forum: No registered users and 0 guests