SUMMARY: copy error message

From: Cathy Hargrave (
Date: Wed Jul 09 1997 - 10:51:18 CDT


my original question was:

> under solaris 2.5, a user reported the following error:
> %cp: cannot clear S_ISUID and S_ISGID bits in Not owner
> the user was not the owner of the file, but had group read/write
> permissions.

the solution was to apply patch 103162-01. sun gives the following bug

> Problem Description:
>1231531 cp -ip deletes source files when file ownership is different

i found that the bug also occurs with just cp -p.

i apologize for not checking out bug reports prior to posting on this
list. it just didn't occur to me - or to the other sys admin here, that
cp would have a bug in it. :( i assumed the user had done something more

my thanks to the following people for their help:
Tim Carlson <>
John W. Funk <>
Juan Nicolas Ruiz N. <>
Jochen Bern <bern@TI.Uni-Trier.DE>


Cathy L. Hargrave Smith                 phone: (972) 466-7599
SGS-Thomson Microelectronics, Inc.      fax:   (972) 466-7279
1310 Electronics Drive - MS 600         pager: (214) 359-1113 
Carrollton, TX   75006 			e-mail:

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:58 CDT