Super User is a question and answer site for computer enthusiasts and power users. 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 have some problems with a smb share. Every subfolder should get the group id bit. If I create a directory local on the machine with:

$ mkdir local

the bit is set, but if i create it via the smb share it is not set. now it looks like this:

$ ll
    total 8
    drwxrwsr-x 2 pat skynet 4096 Jul 23 23:03 local
    drwxrwxr-x 2 pat skynet 4096 Jul 23 23:03 smb

here is the part from the smb.conf where is set the share:

        comment = pub share
        path = /mnt/pub
        public = no
        browseable = yes
        writeable = yes
        valid users = +skynet
        directory mask = 775

any ideas?

share|improve this question
I currently figured out that the problem only appears with mac os x clients. works fine with a windows xp machine. – patrickS Jul 23 '12 at 21:14

You must log in to answer this question.

Browse other questions tagged .