On Thu, Jun 4, 2020 at 3:07 AM Alberto Cabello Sánchez wrote: > I'm trying to get an rsync updating some files without changing their > owner, groups or permissions. I've read man pages etc. stating I need to > use the "--no-o", "--no-g", "--no-p" flags >
You'll need to also specify --inplace in order for rsync to just use the existing files instead of creating a new one and moving it into place. Any new files will still be owned by the copying user (root in your case). If all the files are going to end up being owned by one particular user & group, you could instead include the -o & -g options along with the --chown=user:group option and the receiving side will create/chown all the files in the transfer on the receiving side to that user and group (without needing to use --inplace). ..wayne..
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
