Oracle uses 'dbadmin' user on UNIX and one of the oracle trigger creates a file. However, it doesn't provide 'Read' & 'Write' access to 'group' & 'other' users. Per security reasons, we shouldn't use 'umask' feature. We have been trying to use 'setfacl' commands to achieve the same, but couldn't succeeded so far.
*************
cd /tmp
getfacl TEST.TXT
setfacl -r -m u:user001:rwx TEST.TXT
getfacl TEST.TXT
***********
Request:
1) The created shell script (Owner: dbadmin) should be able to provide 'r', 'w' & 'x' privileges to group and other members.
2) 'User001' should be able to execute the shell script developed by dbadmin without dbadmin intevention.
Any help is greatly appreciated.
Thanks!