cancel
Showing results for 
Search instead for 
Did you mean: 

File adapter created file permissions at OS

Former Member
0 Kudos

Hi,

We have a file adapter scenario and once we run the scenario at OS level the file is being created with following permissions.

<b>-rw-r----- </b> 1 xisadm sapsys 19789000 Oct 10 17:01 File10024322.txt

So it is not being processed further till we change the permisions to<b> -rw-rr</b> .

Is there any place in XI where we can change to write the file at OS with <b>-rw-rr</b> permisions.

Thanks

Sunil

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sunil,

In the XI Directory, just go into your file adapter objet. There, you have a field were you can specify a system command when the file is created.

You can put the following one:

chmod xxx %f (UNIX platform)

I am pretty sure you know that command, if not, you'll find a lot of information on the internet.

In that field, you can also call scripts that you would have developped, so you have a lot of possibilities to treat your file as you want.

Best regards,

Guislain

moorthy
Active Contributor
0 Kudos

HI,

I don't think so. So you need to change these permissions in the OS level itself. XI will pick the file from that directory only.

For this you can exceute Shell Script. either from XI or you can schedule as a Background job at OS level.

Regards,

Moorthy

Former Member
0 Kudos

Moorthy,

This is XI writing the file at OS and not XI not reading the file.

But in one of our DEV env the file is being created with <b>-rw-rr </b> permissions after changed some thing , which we are not sure now. Now we have the same issue in production. Bye the way OS is AIX.

We would like is there any place in XI we can change so that XI can write the file to have "others" to <u>read</u> the file.

thanks

Sunil

Message was edited by: Sunil Guditi

moorthy
Active Contributor
0 Kudos

Hi,

Ok.. did you check select the option of Construction Mode as "Create" in the Receiver File communication channel.

May be it will help you..

Anyway you can try out with OS commands .

Regards,

Moorthy

Former Member
0 Kudos

Deleting the existing Comm. channel and creating a new one resolved the issue, but we are not still clear what has caused this..

Thank you all,

Sunil