Samba is denying write access with inherit permissions set

خرید بک لینک

I'm setting up a new Debian Server with Samba, in NT Domain Mode (I know, I know... But it's a stand alone for hosting small files!). I want to use inherit permissions on the share, so that I can just edit my /etc/group file to add or remove access to the subfolders. Here is what I have:

smb.conf:

[global]
        workgroup = WORKGROUP
        interfaces = 10.8.0.1/24 127.0.0.1 10.20.0.0/24
        bind interfaces only = Yes
        server role = standalone server
        map to guest = Bad User
        obey pam restrictions = Yes
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
        unix password sync = Yes
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        dns proxy = No
        wins support = Yes
        usershare allow guests = Yes
        panic action = /usr/share/samba/panic-action %d
        idmap config * : backend = tdb


[Databases]
        comment = COMMENT_HERE
        path = /usr/local/share/databases
        inherit permissions = Yes

Directory Permissions:

/usr/local/share/databases# ls -lah
total 12K
drwsr-sr-x 3 root staff   4.0K Feb 10 23:25 .
drwxrwsr-x 9 root staff   4.0K Feb 10 23:25 ..
drwxrws--T 2 root nlcc142 4.0K Jun 16 00:54 142

I am connecting from Windows 10 with a useame that belongs to both staff and nlcc142. I cannot create files inside the 142 folder from my computer (I don't want to add more folders YET to databases, but that will be done via the terminal as root). I keep getting Access is Denied errors. What can I do next?

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 183 تاريخ: پنجشنبه 27 خرداد 1395 ساعت: 12:31

صفحه بندی