home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.3b1
- Path: sparky!uunet!darwin.sura.net!mips!pacbell.com!tandem!zorch!hico2!kak
- From: kak@hico2.westmark.com (Kris A. Kugel)
- Subject: Re: tar and chown (was: Re: Cnews and dashes)
- Message-ID: <Bs224L.5AG@hico2.westmark.com>
- Summary: version 7 docs say ONLY root
- Reply-To: kak@hico2.westmark.com
- Organization: High Country Software
- References: <1992Jul24.034615.10048@ceilidh.beartrack.com>
- Date: Mon, 27 Jul 1992 16:07:31 GMT
- Lines: 47
-
-
- dnichols@ceilidh.beartrack.com (Don Nichols (DoN.)) writes:
- : In article <Brszsw.2o3@hico2.westmark.com> kak@hico2.westmark.com (Kris A. Kugel) writes:
- : >I seem to recall, (and have the manuals at home to check)
- : >that version 7 unix allowed chown(1) to change file ownership,
- : >and so I think that chown(2) for version 7 was NOT reserved for root.
-
- : Well, I have the manuals *RIGHT HERE*. From my copy of _UNIX
- : Programmer's Manual_ ( Volume 1), revised and expanded edition, published by
- : Holt Rinehart and Winston, Copyright 1983, 1979, Bell Telephone Laboratories,
- : Incorporated:
- :
- : Chown (1), third paragraph under DESCRIPTION heading:
- :
- : Only the super-user can change owner or group, in order to simplify
- : as yet unimplemented accounting procedures.
- :
- : Chown (2), DESCRIPTION:
- :
- : The file whose name is given by the null-terminated string pointed
- : to by _name_ has its _owner_ and _group_ changed as specified. Only
- : the super-user may execute this call, because if users were able to
- : give files away, they could defeat the (nonexistent) file-space
- : accounting procedures.
-
- ...
-
- : If you still have access to that v7 system, (and it is still
- : running), I suggest that you check the man page for chown(2), and check
- : whether chown(1) has been made suid-root.
-
- Don's right, I checked my manual, and it's exactly as he quotes.
-
- It's possible that I was confused with other earlier versions and clones
- (I worked on version 6, an early version of Coherent (v7 clone),
- System III and V.0)
-
- I THOUGHT I remembered having a problem chown'ing a file
- with BSD varients, and I remember it being a rude annoyance,
- that I'd not expected to have problems chown'ing. But I was
- on a fair number of flavors of unix around that time (~1983),
- so I couldn't say for sure just which one annoyed me so.
-
- Anyhow, my apologies for spreading false information.
-
- Kris A. Kugel 908-842-2707
- hico2!kak kak@hico2.westmark.com
-