-
Notifications
You must be signed in to change notification settings - Fork 24
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
can't set group write permissions to created files and directories #586
Comments
Sorry, where did you command "ls -al" ? mount point ? or share directory ? |
Have you tried "modefromsid" mount option if you have used cifs mount ? |
at share directory (where ksmbd is running)
it really behaves as umask 0022, I tried different "create mask" values |
Hm... Stranged.. I also checked it again. but it work fine as expected. what is your local filesystem ? create mask = 0664
|
here are system specs:
don't know if it makes sence, but also I checked umask of ksmbd running processess:
|
Ah, Okay, Are you using ksmbd in alpine2's linux kernel ? or out of tree ksmbd(cifsd-team/ksmbd) ? I am wondering the below patch is in your kernel source... |
I use ksmbd in alpine2's linux kernel (the default alpine kernel from alpine main repo branch 3.17) |
Hm, Can you check it with out of tree ksmbd here ? |
I can't find it's kernel source or tree. I guess that alpine2's linux kernel doesn't update ksmbd from the latest linux 5.15 stable kernel. |
tried cifsd-team/ksmbd on 5.15.89 and even 6.1.7 (alpine edge repository) with the same result :( |
Hm.. Don't know.. can you share your ksmb.conf file with me ? want to check it. |
|
just tested on Debian sid also ksmbd processes have umask 0000
|
@freepaddler Can I understand that there is no problem if you change alpine2 to Debian? |
yep, I raised an issue in Alpinelinux community, thanks for support! |
Sounds like an issue with ksmbd-tools. musl probably handles the necessary function differently. |
It seems that umask 022 is always applied to created files and directories. And it is impossible to set g+w and o+w permissions.
ksmbd.conf:
ls -la .
Alpine Linux 3.17 with 5.15.86 kernel.
The text was updated successfully, but these errors were encountered: