aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorAllan Jude <[email protected]>2021-07-02 19:16:58 +0000
committerBrian Behlendorf <[email protected]>2022-06-10 09:51:32 -0700
commita1aa8f14c864b6851649f9c3e74e9f12e6518edd (patch)
treeb7b42e9ca043bbb49b80f754be149ff4780b42ae /man
parentfc5200aa9b345972fc1b99869b03a373090b84c7 (diff)
Revert parts of 938cfeb0f27303721081223816d4f251ffeb1767
When read and writing the UID/GID, we always want the value relative to the root user namespace, the kernel will take care of remapping this to the user namespace for us. Calling from_kuid(user_ns, uid) with a unmapped uid will return -1 as that uid is outside of the scope of that namespace, and will result in the files inside the namespace all being owned by 'nobody' and not being allowed to call chmod or chown on them. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Allan Jude <[email protected]> Closes #12263
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions