Unix Folder access in Prodcution

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
Naren12345babu
Premium Member
Premium Member
Posts: 76
Joined: Wed Jan 06, 2016 9:40 am
Location: Bangalore

Unix Folder access in Prodcution

Post by Naren12345babu »

Hi,I recently deployed code to production. In production we have created few folders such as Inbound, Reject.

When we run datastage jobs in Production we are getting Permission denied error for these folders.

How to give permission to these folders ? To which users we have to provide ? What is the process of doing this ?

I unerstand it is slightly deviated from datastage, but If possible, Kindly provide information
Thanks
Naren Babu Ch
UCDI
Premium Member
Premium Member
Posts: 383
Joined: Mon Mar 21, 2016 2:00 pm

Post by UCDI »

It sounds like your datastage user ID has permission to create things but that it cannot access them afterwards. Which is actually doable, but an odd (and probably incorrect) setup. Normally creators can access and delete etc their folders. Sometimes this issue can crop up if the folders are not on the same server as the datastage engine, but are instead a mount point or something, in which case the target file server needs some attention.

This is a system administrator question for whoever is doing that at your company. That person needs to set the permissions for the datastage user account ID(s) to have permission to access the folders and any that are created by it.

If you are a tiny operation with like 5 people, you can just take the axe to it and set the folders with a chmod 7777. This lets anyone and everyone do anything and everything inside those folders. This would get you past the issue until you can set up proper user groups and permissions which might take a few days of research and study. Ive played sysadmin at a tiny place and know how that can be...
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Open up a detailed job log in Director. Double click a detailed job log entry to see what user account the job executes under. Then you know which user needs permissions.
Choose a job you love, and you will never have to work a day in your life. - Confucius
Post Reply