file permission
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
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 knowThanks 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