Skip to contentSkip to conversation

file permission

DISCUSSION Sumit Kumar Agarwal 2 participants 2 messages Dec 6, 2004 – Dec 7, 2004

lore
Share & tools
lore
#0 lore raw

Dear all

I Have A small problem. in my linux server there are three users
user1, user2, user3 and all of them belong to a single group group1 user1 has some files which user2 can access but user3 should not be have even a read access to them how do i set permission to the file such that user2 can access and user3 should not access with out changing there groups. If any one have an idea how do we set such permission plz let me know

Thanks in advance

regards
Sumit Kumar

#1 lore raw

Make a second group and put the first two guys in it (users can be in multiple groups) and assign group rights to that file based on the new group.

----- Original Message -----
From: "Sumit Kumar Agarwal" <[email protected]>
To: <[email protected]>
Sent: Monday, December 06, 2004 3:43 PM
Subject: file permission

Quoted 21 lines

Dear all

I Have A small problem. in my linux server there are three users
user1, user2, user3 and all of them belong to a single group group1 user1 has some files which user2 can access but user3 should not be have even a read access to them how do i set permission to the file such that user2 can access and user3 should not access with out changing there groups. If any one have an idea how do we set such permission plz let me know

Thanks in advance

regards
Sumit Kumar

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html