Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
ExternalTasks touching file set modified to SYSTEM
System
On Windows 2000, no matter what I set the owner attribute of an externaltask (or CGITask) is set to, if the process touches a file in TeamSite (through iwpt_compile.ipl for instance, or even iwextattr), TeamSite shows the file as last modified by the user SYSTEM. This is inaccurate and useless information (all files that are workflowed show SYSTEM as last modified). Is there any way to fix this, for instance to set the last modified user explicitly?
Find more posts tagged with
Comments
felipel
Sounds like a similar problem that we have. We have a 2 server clustered environment (Win2k, TS 5.5.2) and when the cluster rolls to our second box, all files that are modified suddenly show up as Modified By "SYSTEM". Everything works correctly when running on the other half of the cluster. We opened a ticket with Interwoven, but I'm curious if anyone else has seen this issue.
Adam Stoller
This appears to be a Windows limitation - in that Microsoft does not (to my knowledge) provide the equivalent of a seteuid call that can be used to set the effective userid of the process -- without prompting for username and password.
--fish
(Interwoven Senior Technical Consultant)
Migrateduser
Couldn't iwattrib be extended to allow these attributes to be set?
Migrateduser
we are also facing the same problem,
env: Teasite 5.5.2 on Windows
external task contains:
$return_code = system("$iwhome\\bin\\iwextattr -s TeamSite/Metadata/COMMON_DIVISION=\"CEN\" \"$areavpath\\$files[$i]\"");
also tried enclosing within `` instead of using system.
teamsite user edited the file and then submitted, the workflow calls this external task script(ipl) but after completion, the file is set to modified by SYSTEM, though the user has full control over that file.
Please advise.
Thanks,
Kamal
Adam Stoller
You could try using a cgitask rather than an externaltask - perhaps one that minimizes the window it opens up in and closes it by itself ... I am not sure if it will make any difference, but it's worth a shot. The problem is (I believe) that Windows does not provide for the ability to do seteuid within an existing process.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
PageNumber.rar