cancel
Showing results for 
Search instead for 
Did you mean: 

File Permissions changes

former_member593220
Participant
0 Kudos

1st interface is a pass through scenario

Sender system (S) sends 4 flat files data using (File adapter -NFS) to PI and PI places the files into PI file directory (AL11) using file NFS

The flow order of the eight files named as Ab,cd, ef,gh all files with .txt extension

Where gh.txt file will send as last file to PI

Arriving last file is the key note to trigger the second flow chain of the interface process

Flow 2 file to RFC.

Once the last file gh.txt arrived into PI folder location, the second flow will start functioning

gh.tx was used in sender communication channel because once this file arrives then we need to

Sender communication channel (processing mode set to read only) uses file name and reads file content and sends a request to RFC using message mapping.

RFC will trigger event in BW system to start the process chain to pick all the 8 files from the directory

Issue:

The files are getting placed with -rw-rw-r- - in AL11 at pass through scenario.

The file permissions are getting changed once we read the file from the second flow.

When the source system triggers the files again we are getting error in communication channel that file access is denied, is this because of file permissions?

will Set - to - ready only option in channel changes the file permissions at the folder location where we read the file?

How and why this file permission get changed?

we can change the permissions with UNIX script but need a root casue

please help with your valuable suggestions.

Accepted Solutions (1)

Accepted Solutions (1)

naveen_chichili
Active Contributor
0 Kudos

Hi Raj,

Hope your second sender channel is trying to pick the file while the file is being updated with your first flow.

would suggest you to give some value in Msecs to Wait Before Modification Check in your second flow sender comm channel and check.

Thanks and Regards,

Naveen.

Answers (2)

Answers (2)

RaghuVamseedhar
Active Contributor
0 Kudos

Raj,

Request UNIX admin to set correct mask.

FYI. The mask helps determine what initial file permission are. umask - Wikipedia, the free encyclopedia

iaki_vila
Active Contributor
0 Kudos

Hi Raj,


When the source system triggers the files again we are getting error in communication channel that file access is denied, is this because of file permissions?

The error could be for file permissions also it can be that the file is not already written you can avoid this last problem with the option Msecs to Wait Before Modification Check under Define Additional Parameters.

On the other hand i can't understand well your double scenario, why don't use only one scenario file - RFC?. If you want a file copy in the PI file folder you can use the option Archive under Processing Mode.

Regards.