*New 11.3 series Release:
2019-10-05: XigmaNAS 11.3.0.4.6928 - released, 11.2 series are soon unsupported!

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - 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 NAS4Free with minimal data transfer.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
BaiGergi
NewUser
NewUser
Posts: 1
Joined: 28 May 2017 16:18
Status: Offline

rsync @ERROR setgroup failed

#1

Post by BaiGergi » 28 May 2017 16:20

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

   [files]
    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”