Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: ownership / permissions from xattr #107

Open
dgerber opened this issue Dec 13, 2021 · 1 comment
Open

Feature request: ownership / permissions from xattr #107

dgerber opened this issue Dec 13, 2021 · 1 comment
Labels
feature New feature request/PR

Comments

@dgerber
Copy link

dgerber commented Dec 13, 2021

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

@mpartel mpartel added the feature New feature request/PR label Dec 13, 2021
@mpartel
Copy link
Owner

mpartel commented Dec 13, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request/PR
Projects
None yet
Development

No branches or pull requests

2 participants