[Samba] Samba Configuration

guido at lorenzutti.com.ar guido at lorenzutti.com.ar
Wed Mar 18 23:34:00 GMT 2009


>
> Thanks Guido. I think I'm a little confused though :)
>
> Here's what I added to my smb.conf:
>
> [admin]
>      path = /home/admin
>      browseable = yes
>      public = no
>      writable =  yes
>      nt acl support = no
>      valid users = @admin
>
> When I do ls -ld /home/admin I get:
>
> drwx--x--x 8 admin wheel 4096 2009-03-18 00:49 /home/admin
>
> And getfacl:
>
> getfacl /home/admin
> # file: home/admin
> # owner: admin
> # group: wheel
> user::rwx
> group::--x
> other::---
>
> So should I create a group, say "addrw" and add my admin user to it?
>
> Thank you again, I appreciate your help.

I only give you an example of my groups. I have a group called addrw.
You should have a group in /home/admin (not wheel) and 770 (not 711).
Then, join the users that need to write in the share to this group.

Now in the linux filesystem they have the right to write in the share.

I hope this helps.



More information about the samba mailing list