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

Add ability to apply file system directory quotas on share dirs #51

Open
phlogistonjohn opened this issue Sep 27, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@phlogistonjohn
Copy link
Collaborator

When a share is exposed to samba there may be a need to limit the amount of data to samba. Ideally, this would be done at a layer outside of the samba container. However, there are cases where we are provided a single data volume and shares are directories within that volume. The sambacc library already has the ability to create the share directories and apply permissions to them.

The sambacc json configuration can provide a suggested quota value and parameter indicating kind of file system is in use. Unfortunately, this may be needed because unlike creating directories and applying permissions the tools/calls needed to set a directory or tree quota varies by filesystem. Not all file systems support directory quotas either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Idea
Development

No branches or pull requests

1 participant