Hi, I have an small network with SUSE 9.1 and trying to use samba. I was reading a lot of papers about samba, but i cannot do something i need. In my computer i have a directory named cotiza owned by user4(me) with the group users and mode 765. M users list there're user1, user2, user3 and user4 all of them with users group. In smb.conf have: [cotiza] comment = Directorio de Cotizaciones path = /home/cotiza/ valid users = user1,user2,user3 read list = user1 write list = user2,user3 create mask = 0765 create directory mask = 0765 create directory mode = 0765 In users 1, 2 and 3 smbfstab have: //xxx.xxx.x.x/cotiza /home/user(x)cotiza username=user(X),password=xxxx,fmask=765,dmask=765 All of that is not working. I need that users2 and 3 can create or modify any of the files inside and user1 just read it. Also, I need users 2 and 3 can make directorys with the same mode and that is not working too. Can somebody help me?? Thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Hi, i think you have a problem with the linux file rights: You have 765 so you get drwxrw-r-x for your directory /home/cotiza. Your users need the right x for changing in a directory. So all users in your group users aren't allowed to get in! Am Freitag, den 14.01.2005, 08:12 -0800 schrieb Sebastian Sola:> Hi,> In my computer i have a directory named cotiza owned > by user4(me) with the group users and mode 765.You will need 775!> > M users list there're user1, user2, user3 and user4 > all of them with users group.OK.> > In smb.conf have: > [cotiza] > comment = Directorio de Cotizaciones > path = /home/cotiza/ > valid users = user1,user2,user3 > read list = user1 > write list = user2,user3 > create mask = 0765 > create directory mask = 0765 > create directory mode = 0765Isn't user4 allowed to write there with a smb/cifs-client?> > In users 1, 2 and 3 smbfstab have: > //xxx.xxx.x.x/cotiza /home/user(x)cotiza > username=user(X),password=xxxx,fmask=765,dmask=765I think you can leave f/dmask away, but I'm not sure.> > All of that is not working. I need that users2 and 3 > can create or modify any of the files inside and user1 > just read it. Also, I need users 2 and 3 can make > directorys with the same mode and that is not working > too.You will have this points, when you change the rights to 775. Problem are users in group users, which can access your computer (where samba is running), because they can write too! A second method would be acl and perhaps you can make some easier configuration with sticky bits -> change to 2775, then every file beyond /home/cotiza will get equal groups.> > Can somebody help me??Hope so! Bye -- Christoph Stoettner <nospam@stoeps.de>
I have 2 windows computers too. --- Darcy Bangsund <darcybangsund@hotmail.com> wrote:> These are all just linux systems ? > Why not use NFS instead? > > > > > > ----- Original Message ----- > From: "Sebastian Sola" <sebassola@yahoo.com> > To: <samba@lists.samba.org> > Sent: Friday, January 14, 2005 11:12 AM > Subject: [Samba] Help with samba > > > > Hi, > > > > I have an small network with SUSE 9.1 and trying > to > > use samba. I was reading a lot of papers about > samba, > > but i cannot do something i need. > > > > In my computer i have a directory named cotiza > owned > > by user4(me) with the group users and mode 765. > > > > M users list there're user1, user2, user3 and > user4 > > all of them with users group. > > > > In smb.conf have: > > [cotiza] > > comment = Directorio de Cotizaciones > > path = /home/cotiza/ > > valid users = user1,user2,user3 > > read list = user1 > > write list = user2,user3 > > create mask = 0765 > > create directory mask = 0765 > > create directory mode = 0765 > > > > In users 1, 2 and 3 smbfstab have: > > //xxx.xxx.x.x/cotiza /home/user(x)cotiza > > username=user(X),password=xxxx,fmask=765,dmask=765 > > > > All of that is not working. I need that users2 and > 3 > > can create or modify any of the files inside and > user1 > > just read it. Also, I need users 2 and 3 can make > > directorys with the same mode and that is not > working > > too. > > > > Can somebody help me?? > > > > Thanks > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > -- > > To unsubscribe from this list go to the following > URL and read the > > instructions: > https://lists.samba.org/mailman/listinfo/samba > > >__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com