cancel
Showing results for 
Search instead for 
Did you mean: 

AIX permission

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Thanks for the reply Radhakrishan.

I want to know where the UMASK permissions are set. As when I am creating the file it is creating with permission -rw-----. I want it to be created with the permission -rw-rr--.

Best Wishes.

Kumar

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Radhakrishna,

I want to know in which profile the UMASK settings are save because my user ora<SID> is always creating file in all directory with the above permission.

Best Wishes.

Kumar