rsync
Added by Bryan McGuire over 2 years ago
Hello,
I have successfully setup nexentastor on a single server. I can mount via NFS from another server. But I think I am having problems with rsync and permissions.
When I rsync the files are written to the server with I think the wrong owner and group. See here: drwxr-x--- 28 nfs nobody 29 Aug 28 02:18 wpsok.org
Or are these correct and I just don't know how this is supposed to work.
Thanks in advance.
Bryan
Replies
RE: rsync - Added by Bryan McGuire over 2 years ago
Bryan McGuire wrote:
Hello,
I have successfully setup nexentastor on a single server. I can mount via NFS from another server. But I think I am having problems with rsync and permissions.
When I rsync the files are written to the server with I think the wrong owner and group. See here: drwxr-x--- 28 nfs nobody 29 Aug 28 02:18 wpsok.org
Or are these correct and I just don't know how this is supposed to work.
Thanks in advance.
Bryan
Adding to my own post......
I also find the rsynced files all have the same date. It looks as if the time stamp was also changed.
The command used was rsync -rvz
If I use rsync -rvza then I get the following errors : rsync: chown "/mnt/nfs_mail/cache.k12.ok.us/b/bbeckett/inbox/01201008120816126942.imap" failed: Invalid argument (22)
As you can see these are email files so its important to keep the attributes the same.
Thanks