users access rights

Giulio Orsero giulioo at tiscalinet.it
Mon Sep 27 15:02:54 GMT 1999


On Mon, 27 Sep 1999 23:21:18 +1000, hai scritto:

> \\XX\Projects\P1 ... P5
>and 6 people :     U1 ... U6
>All users must have primary group "users".
>
>I need to set permissions for each Px directory and each Ux user.
>(For ex.:   U1,U2 has rwx for P1/*   U2,U3,U6 has rwx for P2/*   U1,U3 has rwx
>for P4/*   but  U3 has no perm. for P1/* )

If you share every single PX directory you can do it with unix
permissions and/or "valid users" config param.

If you share the "Projects" dir and the PX dir are not "primary" shares
then you can do it with unix permissions:
- set up as many groups as necessary (G1: U1+U2, G2: U2+U3+U6, ...)
- then chown root.GX every PX dir
- then chmod 2770 every PX dir

-- 
giulioo at tiscalinet.it


More information about the samba mailing list