docs(p7-output-fs): align fake-super comments with silent EPERM/EACCES skip (re-review nit)

This commit is contained in:
2026-09-12 10:31:56 +02:00
parent f2ba8211ce
commit a539d8b2ba
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -335,8 +335,9 @@ void fake_super_store_fd(int fd, uint32_t uid, uint32_t gid, uint32_t mode, int6
/* --fake-super replay: read the freshly-stored record and re-apply the source
* stat fd-relative. A privileged (root) run can actually change the owner;
* a non-root run logs-and-skips the fchown (never fatal, mirroring the normal
* metadata identity path) and still applies mode/mtime where permitted. */
* a non-root run silently skips the fchown on EPERM/EACCES (never fatal,
* mirroring the normal metadata identity path; other errors are logged) and
* still applies mode/mtime where permitted. */
bool fake_super_restore_fd(int fd) {
if (fd < 0)
return false;