Permission denied

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
mtechnocrat
Participant
Posts: 38
Joined: Sat Feb 28, 2004 12:11 pm

Permission denied

Post by mtechnocrat »

Hi All

I have a job which extracts data from Oracle and writes to Flat File .We are runnig this from past 1 year on daily basis.from past 2 days job is aborting and throwing error message .

Error Message :

FF_NewMaster.write_NewMaster: ds_seqopen() - error in 'open()' - Permission denied

Can any one suggest me , how to over come from this issue ? What is the reason for this error.

Thanks in Advance
JoshGeorge
Participant
Posts: 612
Joined: Thu May 03, 2007 4:59 am
Location: Melbourne

Post by JoshGeorge »

What has changed? File access permissions? User process running the DataStage job might be different from your user.
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Check the permissions on every directory in the path of the file you are attempting to write. Also check the permission on the file itself. Find out when and by whom the change was wrought. Complain to them.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mtechnocrat
Participant
Posts: 38
Joined: Sat Feb 28, 2004 12:11 pm

Post by mtechnocrat »

The file permissions has not changed and job is runing through DSADMIN in scheduling tool.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Check the permissions on every directory in the path

Something HAS changed. "Permission denied" does not magically appear out of thin air.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mtechnocrat
Participant
Posts: 38
Joined: Sat Feb 28, 2004 12:11 pm

Post by mtechnocrat »

Hi Ray
All the folders are having correct rights( Write access ) in the file path , still I am facing the issue.

Thanks
Maveric
Participant
Posts: 388
Joined: Tue Mar 13, 2007 1:28 am

Post by Maveric »

Ideally the permissions should be 2777 i.e read write and delete access to everyone in the same GroupID as the owner of the file. If anyone not in the GroupID runs the job then it will give the permission error.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

2775, surely? Actually, just 775 will do. Prefer 2770 or 770 if there are nosey people on the server.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mtechnocrat
Participant
Posts: 38
Joined: Sat Feb 28, 2004 12:11 pm

Post by mtechnocrat »

One of my team has run this job manually , and file was created on his name , that was causing the issue . I have deleted those files and run thejob through DSADMIN through control M .The job completed sucesfully.

Thanks a lot for all the suggestions.
Post Reply