Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Error when execute a job on Unix machine : Permission Denied

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

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I have found a solution as workaround.

 

I have used tCreateTemporaryFile to create a temp file in a folder with user permission.

 

0683p000009M0k7.jpg

 

In tCreateTemporaryFile_2 :

 

0683p000009M0Oi.jpg

 

 

 

The temp file will be used in this step ( first output_example ) :

 

0683p000009M0kC.jpg

 

In the File Name field, press Ctrl+Space and from the global variable list displayed select :

 

0683p000009M0Is.jpg

 

 

 

Then connect the first output_example with the second one and configure it as shown below :

 

0683p000009M0XF.jpg

 

 

This job work fine also on Unix Centos with xml file.

 

I hope is usefull.

 

Giacomo

 

 

 

 

 

 

 

 

 

 

 

View solution in original post

4 Replies
Anonymous
Not applicable
Author

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?

 

Anonymous
Not applicable
Author

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

 

 

Anonymous
Not applicable
Author

I have found a solution as workaround.

 

I have used tCreateTemporaryFile to create a temp file in a folder with user permission.

 

0683p000009M0k7.jpg

 

In tCreateTemporaryFile_2 :

 

0683p000009M0Oi.jpg

 

 

 

The temp file will be used in this step ( first output_example ) :

 

0683p000009M0kC.jpg

 

In the File Name field, press Ctrl+Space and from the global variable list displayed select :

 

0683p000009M0Is.jpg

 

 

 

Then connect the first output_example with the second one and configure it as shown below :

 

0683p000009M0XF.jpg

 

 

This job work fine also on Unix Centos with xml file.

 

I hope is usefull.

 

Giacomo

 

 

 

 

 

 

 

 

 

 

 

Anonymous
Not applicable
Author

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