Hi,
I am having permission to the folder “Commands” and all the files are 755, but when I have opened a new file in this folder the permissions was set to 644.
I need to save the time setting these permissions over and over again using “chmod –R 755”, hence I have decided to use Umask
As I was saying that the Umask is behaving in strange manner.
Whenever I set a new value for the Umask it is setting the default permission to be the between the current permission and the you have determined.
Now just take in this way the current default permission are 755 and I am setting the Umask value to 000 so the default permission will remain same as 755, and when I am opening a new file under this folder “Commands” it is having the access permission to its main folder.
I want to know the reason for this behavior of Umask or the understanding of Umask
Thanks.
Bookmarks