From: Arthur Krewat <email@example.com> To: firstname.lastname@example.org Subject: Re: [TUHS] Additional groups and additional directory permissions Date: Fri, 2 Aug 2019 08:45:51 -0400 Message-ID: <email@example.com> (raw) In-Reply-To: <201908020835.x728ZUal026532@freefriends.org> On 8/2/2019 4:35 AM, firstname.lastname@example.org wrote: > [Subject line changed] > > Hi. > > Arthur Krewat <email@example.com>: >> 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.
next prev parent reply index Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-08-01 12:35 [TUHS] Who's behind the UNIX filesystem permission Doug McIlroy 2019-08-01 16:22 ` John P. Linderman 2019-08-01 16:35 ` Arthur Krewat 2019-08-02 8:35 ` [TUHS] Additional groups and additional directory permissions arnold 2019-08-02 11:18 ` Tony Finch 2019-08-04 6:40 ` arnold 2019-08-02 12:45 ` Arthur Krewat [this message] 2019-08-02 13:06 ` Clem Cole 2019-08-02 13:28 ` Clem Cole 2019-08-02 19:00 ` Thomas Paulsen 2019-08-01 17:01 ` [TUHS] Who's behind the UNIX filesystem permission Nemo Nusquam 2019-08-01 18:26 ` Arthur Krewat 2019-08-01 20:14 ` Lyndon Nerenberg 2019-08-01 21:23 ` Dave Horsfall 2019-08-02 19:44 [TUHS] Additional groups and additional directory permissions Norman Wilson 2019-08-10 4:02 Kirk McKusick 2019-08-10 6:02 ` Thomas Paulsen
Reply instructions: You may reply publically to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
The Unix Heritage Society mailing list Archives are clonable: git clone --mirror http://inbox.vuxu.org/tuhs Example config snippet for mirrors Newsgroup available over NNTP: nntp://inbox.vuxu.org/vuxu.archive.tuhs AGPL code for this site: git clone https://public-inbox.org/public-inbox.git