Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have try to execute a Talend Job on a unix machine but I find in error: "Permission Denied".
The job read data from a table and write to an XML file. The path of XLM file have a full permission to everyone to write .
Is problably depending to the temp folder used from JVM ?
How to resolve it ?
Thank's in advances.
Giacomo
I have found a solution as workaround.
I have used tCreateTemporaryFile to create a temp file in a folder with user permission.
In tCreateTemporaryFile_2 :
The temp file will be used in this step ( first output_example ) :
In the File Name field, press Ctrl+Space and from the global variable list displayed select :
Then connect the first output_example with the second one and configure it as shown below :
This job work fine also on Unix Centos with xml file.
I hope is usefull.
Giacomo
Hi @Moe,
Where is the studio installed? Is it on the same server where you are executing the job?
If not, is it a remote execution? What is the output directory, is it on the studio machine or on some other server?
Hi @rchinta ,
TOS is installed in local on a Windows 7 32 bit SO.
The compiled job is running on a Unix SO ( CentOS release 6.5 ) with java version 1.7.0_65.
The job is executed via *.sh file on unix server .
The output directory is on in the same Unix server in a folder with 777 permission.
Thank's in advances.
Giacomo
I have found a solution as workaround.
I have used tCreateTemporaryFile to create a temp file in a folder with user permission.
In tCreateTemporaryFile_2 :
The temp file will be used in this step ( first output_example ) :
In the File Name field, press Ctrl+Space and from the global variable list displayed select :
Then connect the first output_example with the second one and configure it as shown below :
This job work fine also on Unix Centos with xml file.
I hope is usefull.
Giacomo
Hi @Moe,
Thank you for sharing the workaround with us, it'll help the community members.
Apologies that I couldn't respond earlier.
Kind Regards,
Ramit Panwar