Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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:

[pub]  
        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
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.