LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   rsync - permission denied (13) on Centos 6.5 - even when run as root (https://www.linuxquestions.org/questions/linux-server-73/rsync-permission-denied-13-on-centos-6-5-even-when-run-as-root-4175497242/)

Kernel Fergus 03-06-2014 07:31 AM

rsync - permission denied (13) on Centos 6.5 - even when run as root
 
hi guys.

rsync used to work perfectly on my centos 6.5 box, but recently i have received nothing but "permission denied", even when transferring one local folder to another, as root. the files and folders exist, and i am definitely logged in as root, but rsync cannot perform any operation due to permission being denied.

amny help would be appreciated :)

TenTenths 03-06-2014 07:34 AM

Check if SELINUX is enabled / enforcing.

szboardstretcher 03-06-2014 07:38 AM

Also run rsync with '-vvvv' switch to get hopefully more information.

Kernel Fergus 03-06-2014 09:54 AM

it ran ok with selinux disabled (re-enabled for obvious reasons).

i did find another thread on here with a similar issue that suggested a setsebool option, but i got something along the lines of "the boolean does not exist" i will find the exact command and result.

EDIT: this is the command suggested - setsebool rsync_disable_trans on

this shows an error like this: Could not change active booleans: Invalid boolean

EDIT2: after re-enabling selinux rsync is working again?!?!?!?!?!?!?


All times are GMT -5. The time now is 10:05 AM.