Skip to content
New issue

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

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

Already on GitHub? # to your account

Filesystem ACL mask is not inherited #27

Open
stephenreay opened this issue Oct 25, 2020 · 0 comments
Open

Filesystem ACL mask is not inherited #27

stephenreay opened this issue Oct 25, 2020 · 0 comments

Comments

@stephenreay
Copy link

We have a setup with two web servers, using csync2 to propagated user-uploaded files between them - nothing groundbreaking here. We have a single "action" in the config, which sets ownership of the synced file.

One thing I guess is less common, is that we use Linux filesystem ACLs. The directories being synced have the required default ACL permissions and mask, and files created on each host 'normally' (i.e. the initial uploaded file, or a test file created using e.g. touch) correctly inherit the correct ACL permissions and mask, and the file is usable.

For some reason, files copied by csync2 are created on the destination host with the correct inherited filesystem ACL permissions, but an empty ACL mask.

I'll try to setup a minimally reproducible setup for this tomorrow.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant