Problems with permissions at samba

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problems with permissions at samba

Hartmut-10
Hi,

I have a permission problem at samba.
The share [serverdats] should be available for all users of the group
"management".
I have two users:
user1 group management
user2 group management

If user1 creates a new file at [serverdats] the permission -rwxrw---- is set.
If user2 creates a new file, the persmission -r-------- is set. But
why? What's wrong with this user2?
What could be the problem?


Thanks a lot
Hartmut


[global]
        workgroup = mygroup
        interfaces = eth0
        obey pam restrictions = Yes
        passdb backend = tdbsam guest
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
        unix password sync = Yes
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        name resolve order = wins lmhosts host bcast
        logon script = %U.cmd
        logon drive = m:
        domain logons = Yes
        os level = 200
        preferred master = Yes
        domain master = Yes
        wins server = 127.0.0.1
        wins support = Yes
        panic action = /usr/share/samba/panic-action %d
        profile acls = Yes
        hide files = /desktop.ini/ntuser.ini/NTUSER.*/Thumbs.db/
        acl check permissions = false


[serverdats]
        valid users = @management
        writeable = yes
        create mode = 0750
        path = /home/serverdats
        force group = management
        directory mode = 0770

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users