I would highly recommend that you use rsync over ssh for anything that
isn't read-only much less anything with root access.
Anyway, is there anything in the main section of the config that would
interfere? Are there any ACLs or selinux on /data or / ?
On 10/19/2018 08:45 AM, Bruce Adams via rsync wrote:> I am trying to use rsync to back up data on a central server. On the
> server I created a module for the target directory; here is the entry
> for it in rsyncd.conf:
>
>
>
> [data]
>
> path = /data
>
> read only = false
>
> uid = root
>
> gid = root
>
> #auth users = nmrsu:rw, root:rw
>
> #secrets file = /etc/.rsync.stuff
>
> log file = /var/log/rsync.log
>
>
>
> On the server rsyncd is running with root permissions, and the
> permissions on /data are 777. Yet when I try to save data to that
> directory, even running rsync as root on the remote system, I get a
> permission denied error. If I push data from the remote host to /tmp on
> the server there is no problem. There is likewise no problem in pulling
> data from the remote host to /data on the server. Only trying to push
> from the remote host to the data module on the server fails.
>
>
>
> Any suggestions?
>
>
>
> Thanks,
>
> Bruce
>
>
>
>
>
> Bruce Adams
>
> adamsb at mit.edu
>
> MIT Dep't. of Chemistry Instrument Facility
>
> 617-253-1812
>
>
>
>
>
--
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
Kevin Korb Phone: (407) 252-6853
Systems Administrator Internet:
FutureQuest, Inc. Kevin at FutureQuest.net (work)
Orlando, Florida kmk at sanitarium.net (personal)
Web page: https://sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL:
<http://lists.samba.org/pipermail/rsync/attachments/20181019/a4581ac8/signature.sig>