https://bugzilla.kernel.org/show_bug.cgi?id=215687 --- Comment #1 from Zorro Lang (zlang@xxxxxxxxxx) --- Oh, looks like the failures come from below testing: expect 0 mkdir ${n0} 0755 expect 0 chown ${n0} 65534 65533 expect 0 chmod ${n0} 06555 expect 06555 lstat ${n0} mode expect 0 -u 65534 -g 65533,65532 chown ${n0} 65534 65532 case "${os}:${fs}" in Linux:glusterfs) expect "0555,65534,65532|06555,65534,65532" lstat ${n0} mode,uid,gid ;; Linux:xfs) expect 0555,65534,65532 lstat ${n0} mode,uid,gid ;; Linux:*) expect 06555,65534,65532 lstat ${n0} mode,uid,gid ;; *) expect 0555,65534,65532 lstat ${n0} mode,uid,gid ;; esac If a directory has S_ISUID(04000) and S_ISGID(02000) permission bits, XFS will lost these 2 bits after chown the group of the directory. But now it keeps these two bits: # mkdir dir # chown 65534:65533 dir # chmod 06555 dir # ls -ld dir dr-sr-sr-x. 2 nobody 65533 6 Mar 15 16:26 dir # chown 65534:65532 dir # ls -ld dir dr-sr-sr-x. 2 nobody 65532 6 Mar 15 16:26 dir Hmm... please help to make sure if this's an expected behavior change, or an unexpected regression? Thanks. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.