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 '.ftpconfig' --exclude '.DS_Store' /xxx/xxx/xxxxx/ xxx@xxx.xx.xx.xx:/var/www/html/
出現這兩個錯誤?是怎麼回事?
你的xxx用户没有对/var/www/html下的文件操作的权限,要给权限才行