Hi,

I need create spec. permission for /FINANCE directory. ONLY the users
below "valid users = michal marie dana zuzana" should have acces for
READ and WRITE in /FINANCE directory. The configuration here doesn`t
work. Also have a problem - how to set FULL RIGHT for read/write
inside of these folders below (without /FINANCE) without possibility to DELETE them?




/opt/samba/public

total 40
drwxrwxrwx    9 root     root         4096 Dec 10 11:45 .
drwxr-xr-x    3 root     root         4096 Dec 10 11:45 ..
drwxrwxrwx    2 root     root         4096 Dec 10 11:08 FINANCE
drwxrwxrwx    2 root     root         4096 Dec 10 10:27 KINO
drwxrwxrwx    2 root     root         4096 Dec 10 09:35 MARKETING
drwxrwxrwx    3 root     root         4096 Dec 10 09:36 PR
drwxrwxrwx    2 root     root         4096 Dec 10 09:34 TELEVIZE


PART OF "SMB.CONF"

[public]
   comment = Public Stuff
   path = /opt/samba/public
   read only = No
   create mask = 0777
   force create mode = 0777
   directory mask = 0777
   force directory mode = 0777
   guest ok = No
   wide links = No


# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.

[myshare]
   comment = Finance stuff
   path = /opt/samba/public/FINANCE
   valid users = michal marie dana zuzana
   public = no
   writable = yes
   printable = no
   create mask = 0765



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to