Error using rsync: Rsync:chgrp "XXXX" failed:operation not permitted

Source: Internet
Author: User

You is probably running rsync like this:

Rsync-a dir/remote:/dir/

the -a  option according to the Documentation is equivalent to: -rlptgod

      -a, --archive    archive mode; equals  -rlptgoD  (no -h,-a,-x) 

you probably want to remove The -o  and -g  options:

      -o, --owner                  preserve owner  (super-user only)        -g, --group                  preserve group 

So instead your rsync command should look something like this:

RSYNC-RLPTD dir/remote:/dir/

Or as @glglgl points out:

Rsync-a--no-o--no-g dir/remote:/dir/

The remaining options in use is:

      -r, --recursive              recurse into directories      -l, --links                  copy  symlinks as symlinks      -p, --perms                  preserve permissions       -t, --times                  preserve modification times       -D                           same as --devices --specials           --devices                preserve device files  (super-user only)            --specials               preserve special files


Error using rsync: Rsync:chgrp "XXXX" failed:operation not permitted

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.