Hello everyone. I been working up with samba shared folders, but have some troubles with users/folder privileges. Users: ale jvillar I got a folder named "BACKUP" users ale and jvillar can read/write this folder inside "BACKUP" is another folder named "MAIL BACKUP" i want user ale to read/write this folder and user jvillar only read. Even though i tried everything i could think of nothing worked out the way i wanted too. Did anyone solved this? Here is my smb.conf [global] workgroup = shibusen netbios name = FileServer server string = FILE SERVER os level = 64 preferred master = no domain master = no local master = no wins support = yes debug level = 2 log file = /usr/local/samba/var/log.%U max log size = 50 security = user encrypt passwords = yes logon script = logon.bat logon path = \\%L\profiles\%U logon drive = H: logon home = \\%L\%U time server = yes add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null '%u' [backup] path = /home/backup comment = backup valid users = jvillar ale write list = jvillar ale read only = no available = yes browseable = no writable = no guest ok = no public = no [mail backup] path = /home/backup/mails comment = mail backup valid users = ale jvillar write list = ale read only = no available = yes browsable = yes writable = no guest ok = no public = no -- View this message in context: http://www.nabble.com/folder-users-privileges-tp24809320p24809320.html Sent from the Samba - General mailing list archive at Nabble.com.
Hello everyone. I been working up with samba shared folders, but have some troubles with users/folder privileges. Users: ale jvillar I got a folder named "BACKUP" users ale and jvillar can read/write this folder inside "BACKUP" is another folder named "MAIL BACKUP" i want user ale to read/write this folder and user jvillar only read. Even though i tried everything i could think of nothing worked out the way i wanted too. Did anyone solved this? Here is my smb.conf [global] workgroup = shibusen netbios name = FileServer server string = FILE SERVER os level = 64 preferred master = no domain master = no local master = no wins support = yes debug level = 2 log file = /usr/local/samba/var/log.%U max log size = 50 security = user encrypt passwords = yes logon script = logon.bat logon path = \\%L\profiles\%U logon drive = H: logon home = \\%L\%U time server = yes add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null '%u' [backup] path = /home/backup comment = backup valid users = jvillar ale write list = jvillar ale read only = no available = yes browseable = no writable = no guest ok = no public = no [mail backup] path = /home/backup/mails comment = mail backup valid users = ale jvillar write list = ale read only = no available = yes browsable = yes writable = no guest ok = no public = no
> I got a folder named "BACKUP" > users ale and jvillar can read/write this folder > inside "BACKUP" is another folder named "MAIL BACKUP" > i want user ale to read/write this folder and user jvillar only read. > Even though i tried everything i could think of nothing worked out the way i > wanted too. > Did anyone solved this?Use acl on filesystem ? -- Eero
The users ale and jvillar are windows XP users trying to get into samba shared folder will acl work? On Tue, Aug 4, 2009 at 11:31 AM, Eero Volotinen <eero.volotinen at iki.fi>wrote:> I got a folder named "BACKUP" >> users ale and jvillar can read/write this folder >> inside "BACKUP" is another folder named "MAIL BACKUP" >> i want user ale to read/write this folder and user jvillar only read. >> Even though i tried everything i could think of nothing worked out the way >> i >> wanted too. >> Did anyone solved this? >> > > Use acl on filesystem ? > > -- > Eero >-- Alejandro Debussy Konexion Urbana Tel: 02322-426468
I've tried to set ACLs but have the same results as before, definitly i'm doing something wrong. I just thought i could manage privileges like Windows 2003 file server. On Tue, Aug 4, 2009 at 1:29 PM, Surendil <aleelf at gmail.com> wrote:> I've tried to set ACLs but have the same results as before, definitly i'm > doing something wrong. > I just thought i could manage privileges like Windows 2003 file server. > > > > On Tue, Aug 4, 2009 at 12:23 PM, Robert LeBlanc <robert at leblancnet.us>wrote: > >> Samba respect file system ACLs. We use them all the time. We have our >> share declarations wide open (relatively speaking) and control all the rest >> of the permissions by ACLs. We use XFS and usually mount the file system to >> respect gid bit setting on folders to give a Windows like environment (we >> also set the umask appropriately in smb.conf) >> >> Robert LeBlanc >> Life Sciences & Undergraduate Education Computer Support >> Brigham Young University >> >> >> On Tue, Aug 4, 2009 at 8:47 AM, Surendil <aleelf at gmail.com> wrote: >> >>> The users ale and jvillar are windows XP users trying to get into samba >>> shared folder >>> will acl work? >>> >>> On Tue, Aug 4, 2009 at 11:31 AM, Eero Volotinen <eero.volotinen at iki.fi >>> >wrote: >>> >>> > I got a folder named "BACKUP" >>> >> users ale and jvillar can read/write this folder >>> >> inside "BACKUP" is another folder named "MAIL BACKUP" >>> >> i want user ale to read/write this folder and user jvillar only read. >>> >> Even though i tried everything i could think of nothing worked out the >>> way >>> >> i >>> >> wanted too. >>> >> Did anyone solved this? >>> >> >>> > >>> > Use acl on filesystem ? >>> > >>> > -- >>> > Eero >>> > >>> >>> >>> >>> -- >>> Alejandro Debussy >>> Konexion Urbana >>> Tel: 02322-426468 >>> -- >>> To unsubscribe from this list go to the following URL and read the >>> instructions: https://lists.samba.org/mailman/options/samba >>> >> >> > > > -- > Alejandro Debussy > Konexion Urbana > Tel: 02322-426468 >-- Alejandro Debussy Konexion Urbana Tel: 02322-426468