Find the answer to your Linux question:
Results 1 to 5 of 5
I'm trying to sync two dir in a two different servers. At first, I'm running not privilege user since the directory has a read access to others. However, I encountered ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Mar 2006
    Posts
    101

    rsync permission denied even root


    I'm trying to sync two dir in a two different servers. At first, I'm running not privilege user since the directory has a read access to others. However, I encountered an error:

    rsync: readlink "/data/docs/ARCHIVE" failed: Permission denied (13)

    The permission of the directory ARCHIVE is:

    drwxrwxrw- 2 foo users 4096 Nov 24 01:20 ARCHIVE

    I decided to do rsync as root since it has no limitation in permission (am I right?). Now, when I run rsync using root, still I encountered Permission denied. I can't understand why it was denied when it fact it has read-write access. Other directory is fine.

    Can anyone advise how to fix this problem? This is the first time I encountered this error using rsync

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    626
    what user is the rsync server running as?
    linux user # 503963

  3. #3
    Linux Newbie
    Join Date
    Mar 2006
    Posts
    101
    At first I'm using non-privilege user.

    but I tried also direct root access to remove the doubt about permission but still the same.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    626
    is this running as a standalone daemon or through xinetd? is selinux installed? is it on/off?
    linux user # 503963

  6. #5
    Linux Newbie
    Join Date
    Mar 2006
    Posts
    101
    is this running as a standalone daemon or through xinetd?
    It is standalone

    is selinux installed? is it on/off?
    Yes. It is installed. I do turn it off yesterday but still the same problem occur.

    Is there a possibility that the file was in use that's why it is permission denied?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •