on 07-03-2008 3:39 AM
Hi All,
We have install ECC5.0 with ORacle on AIX.
The user ora<SID> is always creating a file with permission of 600 (-rw-------).
Kindly let me know where we can change the setting that the permission should come as 744.
Thanks in advance.
Kumar
Hi,
In order to create a file with default permission 744, u just simply log on as a root, and set the umask value to 033, by typing this: umask 033 . This setting should be saved in /etc/profile.
Rgrds,
casper
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Normally the umask is set in /etc/profile, so it applies to all users on the system. Hence i hope you need to run the command under root.
You can get more details in the below link :
http://tldp.org/HOWTO/Security-HOWTO/file-security.html
The above link speaks about the files and filesystem security which also depicts how umask and corresponding utility works.
Rgds
Radhakrishna D S
Hi,
Have a look at this link. this will help you to set default file permission for a user.
http://docs.sun.com/app/docs/doc/806-7612/6jgfmsvru?a=view
Rgds
Radhakrishna D S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you are asking how to set the Umask environment variable, we have "umask" utility. Even in my earlier link they have provided a table which tells you about the corresponding umask code and permission.
For more detail please find the link below:
http://www.opengroup.org/onlinepubs/007908775/xcu/umask.html
Regards
Radhakrishna D S
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.