From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id a204e3cc for ; Fri, 2 Aug 2019 12:46:34 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 2DB0A9BABD; Fri, 2 Aug 2019 22:46:32 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 5090D9BA7E; Fri, 2 Aug 2019 22:46:06 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (1024-bit key; unprotected) header.d=kilonet.net header.i=@kilonet.net header.b="a/UAz7iU"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 9D6A09BA7E; Fri, 2 Aug 2019 22:46:03 +1000 (AEST) Received: from p3plsmtpa06-03.prod.phx3.secureserver.net (p3plsmtpa06-03.prod.phx3.secureserver.net [173.201.192.104]) by minnie.tuhs.org (Postfix) with ESMTPS id 998A59B84E for ; Fri, 2 Aug 2019 22:46:02 +1000 (AEST) Received: from medusa.kilonet.net ([72.69.11.12]) by :SMTPAUTH: with ESMTPA id tWwah6GXXK5jXtWwbhB560; Fri, 02 Aug 2019 05:46:01 -0700 Received: from [199.89.231.101] (ender.kilonet.net [199.89.231.101]) by medusa.kilonet.net (8.14.8/8.15.1) with ESMTP id x72Ck00Q011496 for ; Fri, 2 Aug 2019 08:46:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kilonet.net; s=default; t=1564749960; bh=r1qs1FUYNCqjf9lSY8ZhEO4QD9Gq5gvHc4jNoT1Y3zU=; h=Subject:To:References:From:Date:In-Reply-To; b=a/UAz7iUjp2cVXvxQmfukTFYcvRJCgrkkBV2rB7I1tgPB2bNUhVnLmoxmYpTI4cvr BBQocvoGEpATO/xoojtNWPdyPsWVbPQ2Ao/xsPijV0KBJUu/fyTtOW/w+Qv8pUKOdj u49Cd4mysda0s/FdTgVi/fBw1cc3UqODo7SjJXqk= To: tuhs@minnie.tuhs.org References: <201908011235.x71CZP2B035023@tahoe.cs.Dartmouth.EDU> <201908020835.x728ZUal026532@freefriends.org> From: Arthur Krewat Message-ID: <290b6d92-2e4a-248f-63b0-ab663f49ea65@kilonet.net> Date: Fri, 2 Aug 2019 08:45:51 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <201908020835.x728ZUal026532@freefriends.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-CMAE-Envelope: MS4wfAATivMHwy0LScGchz5roCsWZ9wHLGHPW55eyzWJzql6236Pos2LCtzoQCY5/UXVvsnfWqZPAsqnD1/ZoSh1jGkuaGjySUfwDa6jY+2+OqTh+Oom1qg1 NdH52UOegWQunmMmRWFZ3WPVmaKeSEtTjIwD0Sksm+6PutoX6Tpp4L8Q Subject: Re: [TUHS] Additional groups and additional directory permissions X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On 8/2/2019 4:35 AM, arnold@skeeve.com wrote: > [Subject line changed] > > Hi. > > Arthur Krewat : >> There's also the setgid bit on directories, that when files are created, >> they will be in the group that the parent directory has on it. > IIRC this was a Sun invention. It was in SunOS 4.x, and may even have > been in SunOS 3.x. > >> Also, I don't think it's been mentioned, but there's the setuid bit on >> directories - otherwise known as the sticky bit. When set, even if you >> have rights to "write" the directory (meaning, delete files), you can't >> delete those owned by other users. Useful for /tmp > Also a SunOS invention, IIRC. > >> I have no idea what the timeline is for either of these features :) > Timeline is late 80s, SunOS 4.0, I believe. (Larry? :-) > > These ideas later propogated into SVR4 / Solaris, Linux and most (if not all) > the other proprietary Unixes. > Makes a lot of sense. I just fired up my Consensys SVR4.2 VirtualBox guest, and sure enough, neither the sticky bit, nor setgid work on directories. My first commercial experience with UNIX as a consultant was SunOS. I had worked on Version 6 earlier, but that was purely personal and never more than messing around with a uVAX a friend had brought home from work. thanks for the info! art k.