On Thu, 24 Mar 2022 15:59:51 -0500, Shelia Chalk wrote:

>I have a Unix Char file in /var.  I would like to copy it over to another /var 
>directory with all the same attributes.  Can someone help me out?
>
>_ Char   777   rwxrwxrwx  2022-03-24 06:26  BPXROOT  0 CEAServer
> 
Does "cp -r file1 file2" do what you need?

Do you have root authority to set the owner:group?

777 strikes me as an unusual mode for a "Unix Char file in /var.."  Indeed,
for any file in /var.

"cp" nowadays has so many z/OS-peculiar options nowadays that I can't
understand most of the manual chapter.

But I see one contradiction and one pleonasm that merit RCFs.

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to