Страница 1 из 1

Samba 4.x.x непонятный баг

Добавлено: 2017-06-22 13:56:12
Nolf
Добрый день.
Столкнулся с непонятной проблемой в работе Samba 4.4.5 и Samba 4.6.4 В конфиге у меня указано параметры:
directory mask = 0770
force directory mode = 0770
create mask = 0770
force create mode = 0770
На системах начиная с Windows XP и выше, а также с MacOS X 10.8 и выше все отрабатывает правильно. Но на системах MacOS X 10.6 - 10.7 почему то папки и файлы создаются с правами 755...
Подскажите пожалуйста, это как то возможно исправить?
Заранее большое спасибо за любой совет и помощь!

Samba 4.x.x непонятный баг

Добавлено: 2017-06-22 15:22:58
wien
Выкладывай весь конфиг самбы, может и высмотрем чего.

Samba 4.x.x непонятный баг

Добавлено: 2017-06-22 16:22:58
Nolf
smb4.conf:

Код: Выделить всё

[global]
        workgroup = TTT
        security = ADS
        realm = TTT.net
        passdb backend = tdbsam
        log level = 3 vfs:2
        syslog = 0
        encrypt passwords = yes
        template shell = /bin/csh
        map to guest = Bad User
        deadtime = 30
        winbind separator = /
        winbind refresh tickets = yes
        winbind trusted domains only = no
        winbind use default domain = yes
        winbind enum users = yes
        winbind enum groups = yes
        wins support = no
        unix charset = UTF8
        dos charset = cp866
        read raw = yes
        write raw = yes
        deadtime = 15
        socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
        use sendfile = no
        min receivefile size = 65536
        aio read size = 16384
        aio write size = 16384
        aio write behind = yes
        write cache size = 1024000
        getwd cache = yes
        oplocks = yes
        large readwrite = yes
        wide links = yes
        dns proxy = no
        domain master = no
        preferred master = no
        local master = no
        idmap config TTT : default = yes
        idmap config TTT : backend = rid
        idmap config TTT : range   = 10000-9000000
        idmap config * : range = 10000000-90000000
        idmap config * : backend = tdb


#============================ Share Definitions ==============================
[promo]
        path = /data/share/promo
        comment = promo
        valid users = @tech.edit, @bb.promo 
        admin users = @tech.edit
        write list = @bb.promo
        directory mask = 0770
        force directory mode = 0770
        create mask = 0770
        force create mode = 0770
        vfs objects = full_audit
        full_audit:prefix = |%m|%a|%u|%I|%S
        full_audit:failure = none
        full_audit:success = mkdir rmdir pwrite rename unlink link
        full_audit:facility = local3
        full_audit:priority = notice
        hide dot files = yes
        browseable = yes
        read only = no
        guest ok = no
        inherit acls = no
        inherit permissions = no

Samba 4.x.x непонятный баг

Добавлено: 2017-06-27 15:15:47
Nolf
В общем помогла одна вещь, а именно когда добавил в конфиг:

Код: Выделить всё

unix extensions = no