hi,
i want to set Umask for my newly created files or modified files with execute permissions.
if i iset umask 002 ,iam not able to see execute permissions for script files,but if i create new directories,iam gettin 'X' permission.
I want to have 'X' permission for the ordinary files also,when i create or modify.pls let me know what umask setting i need to give for this,and to make this change permenent where do i need to set the setting.
Thanks for your help!!
For files 666, Directory: 777, if you set umask to 0 still you can't get default executable permissions on each file because it'll give you 666 permissions whichi is: -rw-rw-rw.
This is due to security reasons. I dont think so you'll be able to acheive your target in Linux/Unix systems.