Interesting... I noticed the files were not readable by the owner (which is our Interwoven account)[diwv999@omhq10b1 WORKAREA]$ ls -latotal 2dr-xr-xr-x 3 diwv999 nobody 512 Jun 13 09:34 .drwxrwsr-x 5 diwv999 nobody 512 Jun 13 09:33 ..d-wxrwxrwx 5 diwv999 iwglobal 512 Jun 15 16:31 main[diwv999@omhq10b1 WORKAREA]$ chmod -R 775 mainHowever, that change didn't make a difference...In fact, I noticed that when the file is submitted, the group gets changed from iwglobal and the tsgroup I've assigned to it over to group "dev":[diwv999@omhq10b1 htdocs]$ ls -latotal 8drwxrwxrwx 2 diwv999 iwglobal 512 Jun 18 11:14 .drwxrwxrwx 5 diwv999 iwglobal 512 Jun 15 16:31 ..-rw-rw-rw- 1 remp022 iwglobal 35318 Jun 7 14:16 index.shtml-rwxrwxrwx 1 diwv999 iwglobal 53 Jun 15 16:30 interwoven.txt-rw-rw-rw- 1 remp022 iwglobal 2952 Jun 7 14:16 re.shtml-rwxrwxrwx 1 diwv999 iwglobal 1422 Jun 15 16:13 test2.shtml-rw-rw-r-- 1 diwv999 dev 1471 Jun 18 11:14 test.shtml
Here's what iwtestcfg reports:$ iwtestcfg /default/main/media_technology/WORKAREA/site_wide_assets/submit.cfgMatched area pattern "^/default/main/media_technology/.*"Matched file pattern ".*"Actions to do are:uid=diwv999gid=diwvgrp000perm=0664
The sticky bit is set on the WORKAREA directory...which I believe is created by TeamSite by iwmkbr.
Interesting...walking through this, submit seems to be a red herring. I noticed that the iwgen step is creating the test.shtml file with gid dev instead of the group for the rest of the files in the workarea. I added a usertask into the workflow and here's what I saw.(Generate)[diwv999@omhq10b1 htdocs]$ ls -la test.shtml-rw-rw-r-- 1 remp022 dev 1471 Jun 18 14:59 test.shtml(Userstep)[diwv999@omhq10b1 htdocs]$ ls -la test.shtml-rw-rw-r-- 1 diwv999 dev 1471 Jun 18 14:59 test.shtml
[...](Generate)[diwv999@omhq10b1 htdocs]$ ls -la test.shtml-rw-rw-r-- 1 remp022 dev 1471 Jun 18 14:59 test.shtml(Userstep)[diwv999@omhq10b1 htdocs]$ ls -la test.shtml-rw-rw-r-- 1 diwv999 dev 1471 Jun 18 14:59 test.shtml
In this workarea, it's diwvgrp000. In other workareas, it may be any of the other groups in our system. I suppose I could just run iwchgrp after running iwgen and force the issue here.
I am not so certain that a iwchgrp will help. Can you add this group to submit.cfg ? That would be easier than iwchgrp.
Changed workarea to have gid dev with didn't have any impact.Thinking back, it's interesting that the script runs the first time as user ID remp022/dev and runs again as remp022/dev. The submit filter changes the owner to diwv999, but leaves the gid alone. The file permissions are Group: ( dev ) Read and Write ...which doesn't make any sense. Either what Teamsite FS thinks group dev is different from what the workflow is running as, or something is royally mucked up.