[Samba] Help with samba
sebassola at yahoo.com
Fri Jan 14 19:43:04 GMT 2005
I did change all to probe just with one user. The same
/home/cotiza directory, with 775 mode
In user1 computer's: mount -t smbfs -o
username=user4(the owner of
user1 can mount /home/cotiza but, if we try to make a
directory inside, the mode for the new directory are
o+rwx g+rx a+rx, so they cannot save anything inside.
--- Christoph Stoettner <nospam at stoeps.de> wrote:
> i think you have a problem with the linux file
> 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
> > by user4(me) with the group users and mode 765.
> You will need 775!
> > M users list there're user1, user2, user3 and
> > 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
> Isn't user4 allowed to write there with a
> > 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
> I think you can leave f/dmask away, but I'm not
> > All of that is not working. I need that users2 and
> > can create or modify any of the files inside and
> > just read it. Also, I need users 2 and 3 can make
> > directorys with the same mode and that is not
> > 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!
> Christoph Stoettner <nospam at stoeps.de>
> To unsubscribe from this list go to the following
> URL and read the
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the samba