[UCLA-LUG] SMB Privleges

Justin Boseant jb@entrada.cs.ucla.edu
Mon, 8 Nov 1999 13:48:39 -0800 (PST)


> Currently my windows 98 box shares a few folders which I have mounted on my
> linux box but I can only modify the contents of those shares as root.  Is
> there a way to give more users access to this share? I want to give only a
> specifc users write privleges but all users should be able to read the files
> (if im not root thats all i can do now).

If you're talking about a locally mounted device than ref: other replies,
I added this one because you mentioned SMB in the Subject:

from /etc/smb.conf:
# A publicly accessible directory, but read only, except for people in
# the "staff" group
[public]
   comment = Public Stuff
   path = /home/samba
   public = yes
   writable = yes
   printable = no
   write list = @staff

of course you'd need to adjust the path and write list to applicable
values.

[public] = what the share should be called
public = can everyone see it?
write list = group(s) or user(s) that are allowed to write to it

smb.conf has a whole lot of options including netbios search_list exports
to multiple subnets!!  Wish it worked with NT/Win9x servers.

Anyway, hope this is useful to someone.

-justin