on 04-29-2009 1:55 PM
Hi All,
I have a requirement:
When I am writing the data to the file in the Application Server.
Only the owner should be given access and other users and groups should not have access to the file and after completing the write activity, the other users should be able to have the read access.
how do i achieve this?
Thanks,
> When I am writing the data to the file in the Application Server.
> Only the owner should be given access and other users and groups should not have access to the file and after completing the write activity, the other users should be able to have the read access.
You need to change the umask for the user running the application server (<sid>adm). This can be done by changing the .sh or .csh scripts in the home directory of the user.
To change the permissions you'll need to create a call to an external command (SM49) such as
chmod g+r <filename>
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.