From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frantisek Hanzlik Subject: Re: Multi-user and shared directories Date: Fri, 31 Aug 2007 01:12:38 +0200 Message-ID: <46D74EE6.2020600@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> <46D73C56.5080302@pobox.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <46D73C56.5080302@pobox.com> Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: "Alain M." Cc: dosEmu-list "umod 002" -> "umask 002" "you can only have one group to a file/directory" : it isn't very right, at least ext2, ext3 and xfs filesystems supports POSIX Access Control Lists (ACL - see "man acl", "man getfacl","man setfacl") and is possible set different access rights (read, write, search/execute) on directories/files for different users and different groups. And on directories is possible set default ACL, again for different users and/or different groups, and new objects inherits default ACL of the containing directory as its access ACL. Frantisek Hanzlik Alain M. wrote: > I looks like your explanation "chmod 002" was meant "umod 002" and thus > would be "chmod 775" which is correct. > > But remember that you can only have one group to a file/directory, that > is a Linux limitation. Maybe you need an extra group... > > Alain > > Roberto Bechtlufft escreveu: >> 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 >> >> > > - > 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:46d73b9562671804284693! >