rsync: failed to set times on "/var/www/html/.": Operation not permitted (1)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-45/rsync/main.c(992) [sender=2.6.9]
我是要從本端到遠端
rsync -azvr --exclude .git --exclude '.DS_Store' /xxx/xxx/xxxxx/ xxx@xxx.xx.xx.xx:/var/www/html/
會出現以上錯誤?是哪裡設定有問題?如何解決呢?
遠端是NFS? 如果是, 請加-O:
rsync -azvrO --exclude .git --exclude '.DS_Store' /xxx/xxx/xxxxx/ xxx@xxx.xx.xx.xx:/var/www/html/