compress and setting owner/group

Mike Khaw mkhaw at teknowledge-vaxc.ARPA
Mon Jul 11 04:30:11 AEST 1988


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 at teknowledge.arpa
uucp:	  {uunet|sun|ucbvax|decwrl|uw-beaver}!mkhaw%teknowledge.arpa
hardcopy: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303



More information about the Comp.unix.questions mailing list