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

force user / group by share #100

Open
thibp opened this issue Nov 4, 2023 · 1 comment
Open

force user / group by share #100

thibp opened this issue Nov 4, 2023 · 1 comment

Comments

@thibp
Copy link

thibp commented Nov 4, 2023

Description

Hello,

Is it possible to have force user / group by share.
I saw that a user made some code, but unfortunately removed it.
It could be usefull, as the only solution by now is global.
Unless you have one share, it is not a sustainable solution.

Thanks in advance,
Best regards

@ACiDGRiM
Copy link

you can just put in a global parameter
- "include = /data/smb-include.conf

and create smb-inlude with a native smb.conf shares section, forgoing the yml shares section. From there you can set individual shares without relying on the odd behavior of the share builder for the shares

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants