I gave full permissions to the directory where the file was getting created and set umask 022 in .profile file, logged out and logged in back,still files were getting created like one below,
-rw-r----- 21 xxx xxx Oct 21 2013 C$_0_XXX_TARG_ODI.dmp
Got doubt somewhere the umask value was getting overridden.
This i found it in oraparams.sh, , where the a umask is set to 026 that would mean if you start an agent then any file being created by the agent would have these permissions
Finally changed the umask value to 022 and we were able to load the data into target.
umask value is in DO NOT EDIT section of odiparams.sh.
Request you Admin to grant Privileges to your folder as rwxrwxrwx, folder where you place your file.
this may help.
else check for unix command.
Thanks for the reply,
That was done.
The user used for agent is same as the use i used to login i.e. is ora11g.
i login into machine as ora11g and create files then its is having all the permissions. If i start the agent and run the interface that creates the dump file then permissions are stripped off.
Everywhere only ora11g is used including installation.