Quantcast
Channel: Squeezebox : Community : Forums - Linux / Unix
Viewing all articles
Browse latest Browse all 1518

rsync permissions

$
0
0
I’m trying to setup a backup job from my ReadyNAS NAS to my Wandboard running CSOS. I realize this is a bit of “unrelated topic” for this forum but it has to do with my next project I have with CSOS and a Wandboard, called my traveler music system. It will be a self contained system with an internal hard drive and LMS running. iPeng will be the audio player connected to the Wandboard over a wireless ad-hoc link. So I hope you guys don't mind me posting this question here :-)

The Wandboard has a USB drive connected to it and the drive is mounted. I have configured rsync to run as a daemon and it seems to be running fine (it starts automatically by means of a service).

My rsyncd.conf file looks like this:

Code:

        port = 873
        lock file = /var/run/rsync.lock
        log file = /var/log/rsync.log
        pid file = /var/run/rsync.pid

        [music]
        path = /media/music/Music
        comment = Music share
        read only = no
        list = yes
        uid = nobody
        gid = nobody
        auth users = phibon
        secrets file = /etc/rsyncd.secrets
        hosts allow = <ip address of my NAS>

The rsyncd.secrets file in /etc holds the correct user : password pair.
/media/music is the mount point of my USB drive. The drive has one directory called Music.

From my ReadyNAS I’m able to test the rsync connection and that works fine (success message).
When I start the actual backup job I get permission errors such as these: rsync: recv_generator: mkdir "/2 Brothers On The 4th Floor" (in music) failed: Permission denied (13)
I have tried everything I could think of but I’m stuck now. Does anyone have some experience wit rsync and permissions?

Viewing all articles
Browse latest Browse all 1518

Trending Articles