bindfs icon indicating copy to clipboard operation
bindfs copied to clipboard

Feature request: ownership / permissions from xattr

Open dgerber opened this issue 3 years ago • 1 comments

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.)

dgerber avatar Dec 13 '21 17:12 dgerber

This would be neat, but I don't have time to do it unfortunately.

mpartel avatar Dec 13 '21 18:12 mpartel