其他分享
首页 > 其他分享> > Rsync - gid 4294967295 (-1) is impossible to set on 错误解决

Rsync - gid 4294967295 (-1) is impossible to set on 错误解决

作者:互联网

错误

$ ./release.sh
sending incremental file list
gid 4294967295 (-1) is impossible to set on "/data/www/qa/."
gid 4294967295 (-1) is impossible to set on "/data/www/qa/README.MD"
./
index.html
gid 4294967295 (-1) is impossible to set on "/data/www/qa/css"
gid 4294967295 (-1) is impossible to set on "/data/www/qa/css/index.css"
gid 4294967295 (-1) is impossible to set on "/data/www/qa/css/index.less"
gid 4294967295 (-1) is impossible to set on "/data/www/qa/img"
gid 4294967295 (-1) is impossible to set on "/data/www/qa/img/api.webp"
gid 4294967295 (-1) is impossible to set on "/data/www/qa/img/aws.ico"
gid 4294967295 (-1) is impossible to set on "/data/www/qa/img/jenkins.ico"
gid 4294967295 (-1) is impossible to set on "/data/www/qa/img/lanhu.ico"
gid 4294967295 (-1) is impossible to set on "/data/www/qa/img/rap2.png"
gid 4294967295 (-1) is impossible to set on "/data/www/qa/img/sign.png"
gid 4294967295 (-1) is impossible to set on "/data/www/qa/img/tapd.ico"
gid 4294967295 (-1) is impossible to set on "/data/www/qa/img/tool.jpg"
gid 4294967295 (-1) is impossible to set on "/data/www/qa/js"
css/
img/
js/

sent 1,191 bytes  received 1,260 bytes  4,902.00 bytes/sec
total size is 66,847  speedup is 27.27
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.4dev]

原因

本地的文件权限错乱,同步上去后部分权限属性无法同步

解决

本地文件重新修改权限

 rsync --exclude=".git" -avz ./ ../qq
 cd ../qq
 find -type d | xargs chmod.exe 755
 find -type f | xargs chmod 644

标签:Rsync,set,www,qa,gid,4294967295,impossible
来源: https://www.cnblogs.com/bbqblog/p/15572575.html