Home
TeamSite
TeamSite, LiveSite and OpenDeploy
FormAPI to Perl copy to WA
Andy Knipp
This is driving me crazy
I have a subdir (test) in a WA. The unix perms are wide open (777). I have a formapi that on a save from a DCR, is to copy a file from /tmp to the WA
I have just tried to hard code it. ALways get perm denied.
iwui is the user running the script, it is part of other and tsadmgp
I have "untainted" the path, verified (by running cat /tmp/ARK.txt) that iwui has read access. I am going crazy
any ideas ?
PERL:
$cmd= "cp /tmp/ARK.txt /iwmnt/default/main/sps/external/public_site/WORKAREA/workarea/files/test/ARK.txt";
print LOG "$cmd \n";
$out = `$cmd 2>&1` ;
print LOG "$out";
Here is what I get:
cp /tmp/ARK.txt /iwmnt/default/main/sps/external/public_site/WORKAREA/workarea/files/test/ARK.txt
cp: cannot create
/iwmnt/default/main/sps/external/public_site/WORKAREA/workarea/files/test/ARK.txt: Permission denied
Is something else running tainted ? Any ideas ?
Andy
Find more posts tagged with
Comments
There are no comments yet