@related: Unix Mode Perm chroot

Weird bug, I can not explain :

addgroup --gid 95924 rzr ; adduser --uid 95924 --gid 95924 rzr

id rzr
# uid=95924(rzr) gid=95924(rzr) groups=95924(rzr)
su rzr -c 'touch rzr'
ls -l
# -rw-r--r-- 1 rzr  rzr  0 Nov 27 23:58 rzr

touch tmp
ls -l
# -rw-r--r-- 1 root root 0 Nov 27 23:59 tmp
chown rzr:rzr tmp
ls -l
# -rw-r--r-- 1 30388 30388 0 Nov 27 23:59 tmp

strace chown rzr:rzr tmp
# ...
# chown("tmp", 95924, 95924)              = 0
# ...
perm.txt · Last modified: 2022/04/16 12:23 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki