chgrp dosemu directory_where_are_files_created
chmod g+rwxs directory_where_are_files_created

SGID bit set on directory will cause trick: all files created under
will have group as directory, not primary user group (in this case
roberto and fatima).

Frantisek Hanzlik

Roberto Bechtlufft wrote:
Ok, question number 327 :-)

Suppose I have users roberto and fatima. roberto is under the groups
roberto and dosemu, and fatima is under fatima and dosemu. When I do a
chmod 002 and as roberto create a new file all users under the group
roberto can read and write to it. However, I want my files to be
created under the dosemu group, and not roberto, so fatima can read
and write to it to. How can I do it?
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

!DSPAM:46d728b759371533111866!

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

Reply via email to