• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Samba sticky bit issue

scottws

Senior member
I have been running a Samba server for awhile and there has been and issue that's been perplexing me for quite some time: how do you get Samba to create folders with the sticky bit already applied?

Aside from the private home folders and a music folder, I have a shared folder on which the owner is root.users. All of the Samba users are members of the group users. This shared folder has drwxrwxr-t (1775) permissions applied. In other words, it has the sticky bit set so that only the owner can delete or modify a folder or file created here.

This seems to work just fine in this main folder. The problem comes in when subfolders are created. I would like subfolders created in this directory through SMB to also have the sticky bit set. I have set the parameter "directory mode = 1775" but this still just seems to create folders with drwxrwxr-w (0775) permissions.

Is there any way to configure Samba to be able to create folders with the sticky bit?
 
Back
Top