Permission Issue

Hi Team,

I am using AIX 6.1 version. I have two log id IDs say (user1 and user2)

Both users primary group is same. ex (group1)

I have created directory called /logs/app using user1 and permissions are like below

/logs ------ drwxrwxr-x
/logs/app ----- drwxrwxrwx

But all the process except build process uses the user2.

When file is created using user2, its created with 664 permission. But when the user1 creates the files, it is creating with 644 permission.

In both .profile has umask set to 0022.

Can any one help me what is the issue?

Have you checked the profile file for user2? umask can be override at user profile level if its not set to read only..

I did checked with both .profile and have same umask settings

Please post the output of the following two commands:

ls -ld /logs
ls -ld /logs/app

I suspect the filemodes of the directories have the sticky bits set and one of the users is the owner, the other only in the same group. The filemodes will prove this suspicion.

Please also say which filemode you want to have set on newly created files so that we can suggest the correct filemode to set.

I hope this helps.

bakunin