From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frantisek Hanzlik Subject: Re: Multi-user and shared directories Date: Thu, 30 Aug 2007 23:45:31 +0200 Message-ID: <46D73A7B.1010504@hanzlici.cz> References: <2c5c60460708290804lfcac6a4n5f16cda70dcb16b8@mail.gmail.com> <1201128185-1188400615-cardhu_decombobulator_blackberry.rim.net-628304760-@bxe018.bisx.prod.on.blackberry> <2c5c60460708290818s4d657d69w306467ee7dc582e6@mail.gmail.com> <23846340-1188412261-cardhu_decombobulator_blackberry.rim.net-436384448-@bxe018.bisx.prod.on.blackberry> <2c5c60460708291141i510ff12fod9ff29284c17984f@mail.gmail.com> <20070829124820.382c2354.theatre@sasktel.net> <2c5c60460708292106gab57c6dt41f98aa333f4aff7@mail.gmail.com> <20070829225309.d960d881.theatre@sasktel.net> <2c5c60460708300422s1a263be6q80419f34ee764f25@mail.gmail.com> <2c5c60460708301338p1018c0d7m698bea5fee0ff0c1@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <2c5c60460708301338p1018c0d7m698bea5fee0ff0c1@mail.gmail.com> Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Roberto Bechtlufft Cc: linux-msdos@vger.kernel.org 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@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > > !DSPAM:46d728b759371533111866! >