I have a program that generates files in the IFS folder and I want to change the ownership of that IFS object as well once it is created. Any command that I can use to change the IFS object ownership?
Sorry, you do not have permission to ask a question, You must login to ask a question.
Sorry, you do not have permission to ask a question.
You can change the ownership of an IFS object using the command
CHGOWN
. TheCHGOWN
command will allow you to change the owner of IFS objects.For the
CHGOWN
command, theparameters
are as follows:OBJ
: object path(include object type and ASP name is eligible)NEWOWN
: User profile of new owner nameRVKOLDAUT
: Similar to CUROWNAUTSUBTREE
: It applies to directoriesSYMLNK
: It applies to symbolic IFS linksQSYS/CHGOWN OBJ(FullyQualifiedpathofIFSobject)
NEWOWN(NewOwnerUserProfileName)
RVLOLDAUT(*NO) SUBTREE(*NONE) SYMLNK(*NO)