[Samba] user permissions

Maurício Ramos Mauricio.Ramos at wedotechnologies.com
Thu Sep 2 06:25:19 MDT 2010


Hello, here we use these parameters:

        force user = samba
        force group = users
        create mode = 0770
        directory mode = 0770
        force create mode = 0770
        force directory mode = 0770


At filesystem level, we set permissions as 775 and make user "samba" the owner and "users" the group of all shares. We, then, can map the shares using our common users (john, mary...) which are part of group "users". Because of the "force user" parameter, our common users becomes user "samba" and then follow permissions configured in samba and filesystem. Since there are 2 levels of security (samba and filesystem) maybe some configuration (samba/filesystem permissions or group settings) could be preventing the access in your case (just an idea).

-----Original Message-----
From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] On Behalf Of Murat Can Tuna
Sent: quarta-feira, 1 de setembro de 2010 11:37
To: samba at lists.samba.org
Subject: [Samba] user permissions

Hello,

I have a problem about reaching my share folder when the permission is
750 but whenever I change it to 755 I can see the content of the folder.

for 750 I get this result:
"smbclient //serverip/sharename -U username"

smb: \> ls
NT_STATUS_NETWORK_ACCESS_DENIED listing \*

                 0 blocks of size 0. 9 blocks available
smb: \>

but for 755 everything is fine but of course I don't get any write
permission. Doesn't it mean that my samba user is seem as other? if yes
what could be the reason? It comes to me, something goes terribly wrong.

Thanks in advance

Murat Can Tuna


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list