[Samba] Share informations...

Sylvain Lévesque slevesque at agri-marche.qc.ca
Fri Oct 10 15:37:23 GMT 2003


Hi all !

  How can I change the rights on a folder or subfolder in a samba share ?!

Exemple:

  i'v got this:

   - MyRep                 <- Owner(User1)(RWX)   Group(MyGroup)(RWX)
Other()()
   |   - SubRep            <- Owner(User1)(RWX)   Group(MyGroup)(RWX)
Other()()
   |   | * File6.doc
   |   | * File7.doc
   | * File1.doc
   | * File2.doc


i've got 3 users and one group:

   - user1
   - user2
   - user3

   - MyGroup   (user1, user2, user3)



I've got this in smb.conf

[MyGroup]
  comment = My Folder
  path = /home/MyRep
  valid users = user1
  browseable = yes
  writable = yes


[SubRep]
  comment = Mu Sub Folder
  path = /home/MyRep/SubRep
  valid users = user1 user2
  invalid users = +MyGroup
  browseable = no
  writable = yes





It doesn't work !

Someone can help ?

thanks !




More information about the samba mailing list