Hi All,
The default file permission on AIX is 666, Iam trying to change the file permission to have atleast 7xx. Since Iam not the admin of this machine I cannot change the default behavior of file permission. So I tried changing umask in .profile. I believe the math is something like this 666 - (umask value)022 = 644. My question is, if default file permission is 666 how can I change the file permission to 7xx at the startup time. I know it can be changed by chmod, i dont want to do that.
My program is creating a file at runtime and executing it, so I want atleast owner to execute it.
Thanks
ngujja
Start Free Trial