Patch Name: PHCO_5804 Patch Description: s700_800 10.00 cp -f does not set permissions correctly Creation Date: 95/07/12 Post Date: 95/07/27 Hardware Platforms - OS Releases: s700: 10.00 s800: 10.00 Products: N/A Filesets: OS-Core.UX-CORE Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_5804 Symptoms: PHCO_5804: 1) cp -f left target file with zero permissions. This happens when the target file exists. 2) cp does not copy directory ending with "/" correctly. Defect Description: PHCO_5804: 1) Fixes target file permission set to zero when cp -f was used 2) Fixes source directories ending with "/" problem SR: 1653132118 Patch Files: /usr/bin/cp what(1) Output: /usr/bin/cp: $Revision: 74.2 $ PATCH_10_0MR: cp.o 95/07/12 /usr/lib/libc: $Revision: 72.775 $ cksum(1) Output: 1659518338 159744 /usr/bin/cp Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 210 Kbytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHCO_5804 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_5804.depot 5b. For a NFS Diskless cluster, run swcluster on the server to install the patch on the server and all clients: swcluster -x autoreboot=true \ -x mount_all_filesystems=true \ -s /tmp/PHCO_5804.depot PHCO_5804 By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_5804. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHCO_5804.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: swpackage -s /tmp/PHCO_5804.depot -x \ target_type=tape -d /dev/rmt/0m PHCO_5804 Special Installation Instructions: None