[Fakeroot-devel] chown on NFS mounts can produce EINVAL instead of EPERM
Albert Lee
trisk at omniti.com
Sat Aug 22 16:44:52 UTC 2015
I've encountered problems constructing root filesystems with fakeroot on NFS.
The chown(2) family of syscalls produces EINVAL when a UID or GID is
"out of range". On an NFSv4 mount, this can occur when no name mapping
exists for the UID or GID. The real root user would also receive the error.
fakeroot only ignores EPERM at the moment. I believe it should be safe
to accept EINVAL and override policy on range restrictions here.
Thoughts? (Hopefully someone is reading this list).
-Albert
More information about the Fakeroot-devel
mailing list