Author Topic: samba permissions - administrator rights  (Read 1709 times)

jp.otto

  • Zen Apprentice
  • *
  • Posts: 25
  • Karma: +1/-0
    • View Profile
samba permissions - administrator rights
« on: April 14, 2009, 11:15:25 am »
We had the same problem as reported by mutation: a user with read-write permission not beeing able to change or delete files, another user had created.
Thinking this might be 'working as designed' we used administrator rights instead of read-write.
This however leads to other problems:

When I create a share with group A being allowed 'read' and group B as 'administrator' a user belonging to both groups  cannot write in this share.
The corresponding sequenz in the smb.conf is as follows:

[share]
 comment = share
 path = /home/samba/shares/share
 valid users = @"A", @"B"
 read list = @"A"
 write list =
 admin users = @"B"
 read only = No
 browseable = Yes
 force create mode = 0660
 force directory mode = 0660

Right now my workaround for this is to give read-write - permission to group B as well, which results in
 write list = @"B"
in the smb.conf

btw. what is the difference between 'read-write' and 'adminstrator' rights?

Jens-Peter