Skip to Content
0
Former Member
Mar 27, 2015 at 03:37 PM

File permission change in java system

388 Views

Hi Friends,

we have a requirement that AMT system(java stack) will process the request and it will generate a file and store it in common mount directory file system,here all the processed file are stored with file permission 655.Then PO(PI system -java) will pick up the file and process it and place the file in common mount directory with the permission 655.

but we want those file with the permission 755 instead of 655.

We have done the following activities to change the file permission automatically, but it couldn't help us.

change the umask for the particular user.

Added the umask profile parameter in java system.

rdisp/umask = 003

install/umask=007

For workaround we are using scripts to change the permission but we want do it automatically by SAP or Kernel.

please guide us how to configure this scenario with our requirement.