I have one requirement in which when I create a directory I want to create it with 777 permission. I did all stuff but not able to do this, anybody knows how to do this? Then please share.
Suppose I have directory /home/sachin/dir.
Now I am creating one folder test under /home/sachin/dir.
mkdir /home/sachin/dir/test
It will create test folder with 775 permission which I do not want.
I don't want to use -m option with the mkdir command.