Re: Multi-user and shared directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Console]     [Linux Audio]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Camping]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Linux Media]     [Fedora Users]

  Powered by Linux