From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,8c9469280c4ae1c2 X-Google-Attributes: gid10b612,public X-Google-Thread: 1020c6,8c9469280c4ae1c2 X-Google-Attributes: gid1020c6,public X-Google-Thread: 1164f8,8c9469280c4ae1c2 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-05-04 08:47:09 PST Xref: sparky comp.sys.dec:2783 comp.unix.ultrix:4188 comp.unix.admin:3100 Newsgroups: comp.sys.dec,comp.unix.ultrix,comp.unix.admin Path: sparky!uunet!sci34hub!gary From: gary@sci34hub.sci.com (Gary Heston) Subject: Re: Floppy Disk Security? (Re: Help: how to set the ownership ...) Message-ID: <1992May4.154709.1496@sci34hub.sci.com> Reply-To: gary@sci34hub.sci.com (Gary Heston) Organization: SCI Technology, Inc., Huntsville, Al. References: <1992Apr23.123258.21085@ircam.fr> <1992Apr28.121914.10226@sci34hub.sci.com> <1992May1.140241.4112@colorado.edu> Date: Mon, 4 May 1992 15:47:09 GMT In article <1992May1.140241.4112@colorado.edu> drew@ladymacb.cs.colorado.edu (Drew Eckhardt) writes: >In article <1992Apr28.121914.10226@sci34hub.sci.com> gary@sci34hub.sci.com (Gary Heston) writes: [ while discussing suid files ] >You are correct in stating thattar does not clear ownership / permissions, or >suid bits, when saving files. >However : >Chown(2) is only executable by root, so a normal user cannot extract a >file from a tar, suid or not, and have it owned by some one else. This is the case on BSD-derived systems, but not SysV. Chown does clear suid bits, though, to avoid the chmod 4555 / chown root sequence that was possible in an earlier version of Unix. -- Gary Heston SCI Systems, Inc. gary@sci34hub.sci.com site admin The Chariman of the Board and the CFO speak for SCI. I'm neither. "Always remember, that someone, somewhere, is making a product that will make your product obselete." Georges Doriot, founder of American R & D.