Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rsync using -a parameter may cause error #109

Open
xiaosiyu0603 opened this issue Oct 1, 2023 · 0 comments
Open

rsync using -a parameter may cause error #109

xiaosiyu0603 opened this issue Oct 1, 2023 · 0 comments

Comments

@xiaosiyu0603
Copy link

The target folder to deploy on server is on NFS, so --omit-dir-times argument is needed (reference); the owner of target folder is not me, which means I'm not allowed to change its owner, so --owner/-o argument can not be used, while -a includes -rlptgoD and causing error. Files can be synchronized correctly.

rsync: failed to set times on "/home/xxx/www/blog-test/.": Operation not permitted (1)
rsync: failed to set permissions on "/home/xxx/www/blog-test/.": Operation not permitted (1)
...
Error: rsync: failed to set times on "/home/xxx/www/blog-test/.": Operation not permitted (1)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.2.7]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant