rsync: failed to set permissions

Post Reply
mister_v
Posts: 122
Joined: Sat Jun 20, 2009 5:42 pm

rsync: failed to set permissions

Post by mister_v »

Hi,

I got the following error with my rsync script:

Code: Select all

rsync: [receiver]  failed to set permissions on "/work/file.txt" (in backup): Operation not supported (95)
I don't know why ?
Chris
Site Admin
Posts: 115
Joined: Mon Jul 21, 2008 9:45 am
Location: Leuven, Belgium
Contact:

Re: rsync: failed to set permissions

Post by Chris »

You get this error when the other side ( server ) can't change the file permission.
Perhaps the file system doesn't support it.
Or the user that runs the rsync-daemon on the server doesn't have the rights to change the permissions.

You can suppress the error-message by adding --no-perms to the rsync-command..

Code: Select all

rsync -ahv --no-perms target/ destination/
or you separately per owner and group

Code: Select all

rsync -ahv --no-o --no-g target/ destination/
Post Reply