Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I must generate a file with this file rights : 660.
My user Talend generate the file with another file right.
How can I change this file rights with Talend Studio ?
I find tFileProperties but this composant display the file rights.
Kind regards.
Hello,
Under Linux, the chmod command is used to change file permissions.
So from a Talend Job, use a tSystem component and specify the chmod command in the Use Single Command field parameter.
For more information about the tSystem component, see tSystem in the Talend Help Center.
Best regards
Sabrina
Hello,
Under Linux, the chmod command is used to change file permissions.
So from a Talend Job, use a tSystem component and specify the chmod command in the Use Single Command field parameter.
For more information about the tSystem component, see tSystem in the Talend Help Center.
Best regards
Sabrina
Hello,
yes, I want to change from a Talend Job.
Thanks for your answer.
Kind regards.
Hello,
Great it helps. Feel free to let us know if there is any further help we can give.
Best regards
Sabrina
Talend creates JAVA code
you have a question about Java, and not about Talend
have a look at:
https://www.tutorialspoint.com/how-to-set-file-permissions-in-java
you could implement if in a tJava
My problem was to modify file permissions with Talend.
Talend call a component (tSystem).
Thanks for this solution.
I'm not "fluent" in Java. So I prefer to call a Talend component 😉