How do I copy files to a NFS mount directory and also preserve the group and user ownership of the files?
Posted on 2008-10-17
I am in the process of transferring files from a systems local directory to a NFS mount directory on that same system. In the process of copying the files from the old directory to the NFS mount directory, I receive several messages of "cp: failed to preserve ownership for <file name> : Not owner" . The previous user and group owners have now changed to nobody4 and nogroup in the NFS mount directory. Please assist on the command that I should have used to prevent this from happening? Is there something that I should configure on the NAS system (NetApp)? If there so, please provide a solution. I really appreciate your help.