LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Example share in smb.conf doesn't work - read/write vs read only (https://www.linuxquestions.org/questions/linux-networking-3/example-share-in-smb-conf-doesnt-work-read-write-vs-read-only-225437/)

kleptophobiac 09-01-2004 07:14 PM

Example share in smb.conf doesn't work - read/write vs read only
 
There is a default share:
Code:

;[public]
;  comment = Public Stuff
;  path = /home/samba
;  public = yes
;  writable = yes
;  printable = no
;  write list = @staff

that should allow only the people in group staff to write, and everyone else gets to read. This is exactly what I want to do, but I can't get it to work.

I have:
Code:

[distros]
  comment = *nix distros
  path = /mnt/lv1/distros
  public = yes
  writable = yes
  printable = no
  write list = @ops

I have added myself as a user both on the base unix system, and samba itself. When I have perms on /mnt/lv1/ to 777, then everybody (even those outside ops) can write. If I have them to anything else, nobody can write. Samba seems to be ignoring the write list = @ops line. Is there anything I can do?


All times are GMT -5. The time now is 02:59 AM.