September 12, 2010

linux groups

Forums: 

i have 3 directories d1 d2 d3 and have 3 users u1 u2 u3 and 3 groups g1 g2 g3, How can i allow that u1 u2 can write & read data from d1, u1 u3 can write & read data from d2, u2 and u3 can view or write data in d3, No one else don't have rights to these directories

i have added u1 in group g1 and g2 and similarly added others users to the specified groups accordingly but i am not sure how to make the access rights on these directories

Need a little help

Thanks

usman