options for set-group [-r] Change the owning group of the object specified by to the OS or TeamSite group named by . If -r is specified, the group is set recursively to sub-folders when -r option is used, the must include the complete filepath followed by /. For example, to change the group of all files and folders under a workarea named "MyWorkArea",to user "NewGroup", you must call iwaccess set-group /WORKAREA/MyWorkArea/. NewGroup -r
iwaccess set-group /default/main/safari/WORKAREA/content safari -r
FYI: I just discovered that the iwaccess CLT 'set-group' option has a recursive function: options for set-group <vpath> <group> [-r] Change the owning group of the object specified by <vpath> to the OS or TeamSite group named by <group>. If -r is specified, the group is set recursively to sub-folders when -r option is used, the <vpath> must include the complete filepath followed by /. For example, to change the group of all files and folders under a workarea named "MyWorkArea",to user "NewGroup", you must call iwaccess set-group <branch path>/WORKAREA/MyWorkArea/. NewGroup -r The command I used was: iwaccess set-group /default/main/safari/WORKAREA/content safari -r ...and it worked a treat.Interestingly, this is not documented in the current CLT Guide, so I wonder if the -r was added as a patch? Anyway...for what it's worth!
options for set-group <vpath> <group> [-r] Change the owning group of the object specified by <vpath> to the OS or TeamSite group named by <group>. If -r is specified, the group is set recursively to sub-folders when -r option is used, the <vpath> must include the complete filepath followed by /. For example, to change the group of all files and folders under a workarea named "MyWorkArea",to user "NewGroup", you must call iwaccess set-group <branch path>/WORKAREA/MyWorkArea/. NewGroup -r
Cool this is useful information! Next time though, please Preview the post first to make sure that everything shows up correctly (I've fixed).
this command is not working for me recursively...i am using 6.7.2 teamsite and solaris 10command is./iwaccess set-owner /iwmnt/Store1/main/ rao -r
...iwaccess set-owner vpath useriwaccess set-private vpath true|false iwaccess set-unix-permission vpath nnnn [-r] iwaccess set-unix-permission vpath symbolic-mode-list [-r] iwaccess unix-permission vpath [-n] ...
-r
% find /iwmnt/vpath -type f -exec "iwhome/bin/iwaccess set-owner rao {}\;"