Xref: utzoo comp.sources.d:2442 comp.unix.questions:8114 Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!killer!mit-eddie!uw-beaver!teknowledge-vaxc!mkhaw From: mkhaw@teknowledge-vaxc.ARPA (Mike Khaw) Newsgroups: comp.sources.d,comp.unix.questions Subject: compress and setting owner/group Message-ID: <23718@teknowledge-vaxc.ARPA> Date: 10 Jul 88 18:30:11 GMT Organization: Teknowledge, Inc., Palo Alto CA Lines: 15 The compress program calls chown(2) to try to set the user and group of the output file to match that of the input file. 4bsd's chown() allows only root to change the user; consequently on ultrix 2.2, the entire call fails, and the output file is owned by the user who ran compress and the group that the parent directory belongs to. Do 4bsd sites run compress as a setuid root program? Is compress safe to install as a setuid root program? Thanks, Mike Khaw -- internet: mkhaw@teknowledge.arpa uucp: {uunet|sun|ucbvax|decwrl|uw-beaver}!mkhaw%teknowledge.arpa hardcopy: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303