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?
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?