On Tue, 11 Feb 2003, Jianping Zhu wrote:

> my quesiton is that is there a way, by which when u1 writes file1 to f1,
> the file will automatially has group attribut g1, and when he writes
> file2 to f2, file2 will belong to g2?

Set the SGID bit on the directory with "chmod g+s <directory>" or "chmod
2770 <directory>" and make sure that the directory is chowned to the
shared group.

-- 
"Of course I'm in shape! Round's a shape, isn't it?"



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to