Skip to content

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

Open
@phlogistonjohn

Description

@phlogistonjohn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Idea

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions