Search thru unix directories

farhaad_buksh

Member
Hi everyone,

Please help. I've got a business function thats using the call opendir() to access a unix directory and i just cant seem to get it to work. The directory exists and i can get to it via the unix command prompt and thru windows explorer. The client is using Samba (V3.0.20b). I just get the message that the opendir() call failed.

Has anyone used this command b4 to access unix directories? Are there any trips or traps i need to know about. I've inherited this program so am not familiar with the function call.

I've attached the business function for your perusal.

Thank you.

E8.9
Tools release 8.95
Unix server OS version: 5.9
 

Attachments

  • 110640-B5500001 - Save.txt
    7.5 KB · Views: 243
Hi Farhhad,

First, you're passing directory name with slashes [/],
aren't you? Backslashes [\] don't work in UNIX...

Second, does the OneWorld account (typically jdeb9)
have the rights to read on that directory?
 
Thanks for the response Sebastian.

Yes they are forward slashes. (I've tried forward and back slashes just to be sure).

I know that the account i log in with has access to that directory....but i am not sure about the jdeb9 account. Are you able to suggest a way to verify that? (I'll try and ask the inhouse CNC guy but not sure if he'd know himself).

Thanks once again.
 
I've checked with the CNC adminstrator and he tells me that all the permissions are in place for jdeb9 to access that directory.
 
Back
Top