*New 12.1 series Release:
2020-04-17: XigmaNAS - released

*New 11.3 series Release:
2020-04-16: XigmaNAS - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

rsync @ERROR setgroup failed

Synchronize files & directories to/from XigmaNAS with minimal data transfer.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Posts: 1
Joined: 28 May 2017 16:18
Status: Offline

rsync @ERROR setgroup failed


Post by BaiGergi »

I set up `rsync` daemon on a Ubuntu server and I am trying to transfer a file from raspberry pi machine to the server:

Code: Select all

 rsync --timeout 10 --progress --password-file ~/rsync.password --append-verify some_file pi@test.ddns.net::files
    @ERROR: setgroups failed
    rsync error: error starting client-server protocol (code 5) at main.c(1653) [sender=3.1.1]
I configured the `rsync` daemon to be run as `pi` user and I am getting the error above. If I run the daemon as `root` no errors are shown and transfer is ok.

Here is my `rsyncd.conf` file:

Code: Select all

    pid file = /var/run/rsyncd.pid
    lock file = /var/run/rsync.lock
    log file = /var/log/rsync.log
    path = /some/path	
    comment = RSYNC FILES
    read only = false
    secrets file = /etc/rsyncd.secrets
    auth users = pi
    uid = pi
    gid = pi
    use chroot = false
The `path` dir has `g+s` permissions set on it - I want all files in it to inherit parent directory's group.

Any ideas how to resolve this error?

Post Reply

Return to “RSYNC”