-
Notifications
You must be signed in to change notification settings - Fork 61
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
ksmbd does not preserve supplementary groups #461
Comments
Can you elaborate more ? Where did you command chown/chmod ? through smb client ? or on local share directory ?
|
I did chown/chmod on the systems where ksmbd runs. ksmbd-server is openwrt. just install samba4-server instead of ksmbd and it works |
bol-van
changed the title
ksmbd does not preserve supplimentary groups
ksmbd does not preserve supplementary groups
Oct 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ksmbd 3.4.8 does not allow access to the file system based on supplimentary group
In the same scenario if samba4-server used instead of ksmbd - all works as expected.
For example, i am "user" with main group "user" and extra group "sftp"
There's dir "dir" and some content inside.
"NO ACCESS" means i cant see anything inside "dir" when connected as "user"
"OK" means I can see content inside "dir"
chown dir sftp:sftp
chmod dir 770
NO ACCESS
chown dir sftp:sftp
chmod dir 775
OK
chown dir sftp:user
chmod dir 770
OK
The text was updated successfully, but these errors were encountered: