bindfs
bindfs copied to clipboard
Feature request: ownership / permissions from xattr
To implement maybe as a separate fuse module, so it can be reused on top of other fuse file systems.
Upon fuse_getattr, this would return values read from an extended attribute, e.g. user.bindfs.%stat
. On chown or chmod, it would write to this xattr.
This would allow more flexibility in defining file uid/gid and mode, not dependent on their values on the source directory. Essentially, an alternative to fakeroot
.
Ideally, the format would be compatible with rsync --fake-super
: "mode rdev_major,rdev_minor uid:gid". (rsync defaults to storing it in the xattr user.rsync.%stat.)
This would be neat, but I don't have time to do it unfortunately.