On Wed, 7 Jul 2021 12:28:35 -0500, Vinoth <[email protected]> wrote
abour File Permission change:

> we are in situation to change the owner for the path /SYSG/prod/cft36/,
> we have tons of files/directories residing on this path and i tried to
> change using a batch job and only the filepath specified on the job gets
> change and rest remains the old owner name and this is stopping me on the
> upgrade.

 chown -R <newowner>:<newgroup> /SYSG/prod/cft36

You might need to be suoeruser (i.e. root) to do this.

The key is the -R option, as it recurses through the subdirectories.
-- 
Regards,
Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
[email protected] (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

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

Reply via email to