Giving "777" permissions on anything is almost always a bad idea.
In any case, it depends how the stored procedure is creating the files.
For example, if they are being written to an Oracle Directory from PL/SQL, then the permissions of the Oracle DB user will determine their read/write access to the Oracle directory from within Oracle, but this will also depend on the access permissions of the relevant Oracle Unix user for the directory in the file system (because files are actually read/written via an Oracle Unix process).
If your files are being created via Java, then you need to look at how Java modifies file permissions at operating system level.
No more Blub for me, thank you, Vicar.
posted 4 years ago
Stored proc writes the file into Oracle directory only. With SYSDBA user login i have created :
Create or replace directory FILE_DIR as <path where Reports are to be created>;
Grant read, write on directory MED_DIR to db_user.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads