Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've set the setgid-bit on folders within my samba-share. It works like a charm for windows and linux clients.

Accessing such a folder with a mac-client the setgid is ignored and the group permission of the newly created files/directories is set to the current users default group.

I've tried the the setting unix extensions = no mentioned on this post but this doesn't work.

share|improve this question

One thing you can do to force the created files in a share to always belong to a certain group is to use the force group = groupname option in the share configuration in smb.conf. If you want to make sure that only users who already belong to that group can create files use a + sign in front of the group name: force group = +groupname.

More info on the samba manual for smb.conf

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.