Issue with rsyncing a file - why just this one file (on all websites)

Posted On // Leave a Comment

I do use rsync to sync my main server with my Live backup servers all day. No issues at all, beside on file:php5.fcgi I can't copy it, I can't change rights on the file etc. Also, in the folders on my backup servers there are a second file: php5.6.fcgi and I can't delete the file, or change the rights. I using root as my user, so I should have full access to my own files?


The files is in every website folder under /home/website/fcgi-bin. The website user is set as owner, and the file rights is 644, and the folder 755. Still, when I`m using root as user, I should have access to make changes to users rights on the folders and the files. But no.


See here: chown: changing ownership of /home/website/fcgi-bin/php5.fcgi': Operation not permitted


Using: chown -R root /home/website/fcgi-bin


Also tried via Virtualmin Filemanager also as root.


Why?


I'm using Remi repo and PHP 5.6.5, and I pretty sure the error got there when I started using Remi repo.


There is no real problem, it do not mess up anything. Beside see all the error messages from rsync about the file and folder on each website from three different servers rsyncing to two backup servers all day long.


Maybe a way to ignore the files on each website in the rsync command copying the files? Or how to change user rights on the folder and files, so I can copy and/or delete the files there?


http://ift.tt/1dvHQ0Z

0 comments:

Post a Comment