-
Notifications
You must be signed in to change notification settings - Fork 64
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
Append-only mode fails even when supported by the underlying file system #37
Comments
This should now be implemented in the master branch. Please test and let me know if it works. |
I rebuilt using the source code from your master branch but I still see this issue:
|
Sorry, I forgot to mention you need to pass the new flag I decided against making it the default behavior because then a root mount would allow users to do any ioctl on any mirrored file as root, and I'm not yet aware of all the implications of that. It may make sense to have a whitelist of ioctls at some point, but even then I'd probably lean towards opt-in. |
That works! Thanks.
XXXX and ZZZZ both allowed, since they're append operations. |
Append-only files are used by applications such as Redis. To set a file as append-only on an ext4 fs, use
chattr +a file
:An append-only file cannot be overwritten:
Or deleted:
bindfs does not support append-only mode, even though the underlying file system does:
Expected behavior is to allow
chattr +a file
on a bindfs file system if the underlying file system supports it.The text was updated successfully, but these errors were encountered: