Tag Archives: Rsync gid 4294967295 (1) is impossible to set on

[Solved] Rsync Error: gid 4294967295 (-1) is impossible to set on…

error

$ ./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]

reason

The local file permissions are disordered, and some permission attributes cannot be synchronized after synchronization

Solution:

Local file RE modification permission

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