LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-06-2014, 07:31 AM   #1
Kernel Fergus
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Rep: Reputation: Disabled
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
 
Old 03-06-2014, 07:34 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,896

Rep: Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173Reputation: 1173
Check if SELINUX is enabled / enforcing.
 
Old 03-06-2014, 07:38 AM   #3
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,237

Rep: Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649
Also run rsync with '-vvvv' switch to get hopefully more information.
 
Old 03-06-2014, 09:54 AM   #4
Kernel Fergus
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
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?!?!?!?!?!?!?

Last edited by Kernel Fergus; 03-06-2014 at 10:04 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
impossible situation. root is Permission denied to run a script with 777 permissions lleb Linux - General 11 01-01-2014 06:06 PM
[SOLVED] rsync permission denied Mike2323 Linux - Server 10 10-05-2011 10:25 AM
rsync permission denied even root packets Linux - Networking 10 04-15-2010 02:56 AM
Rsync: permission denied jevin Linux - General 3 04-13-2007 09:37 AM
rsync permission denied macadam Linux - Networking 0 06-18-2006 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration