when I create a new folder named “child” (for example) like this:
parent/child/
the child folder, doesn’t have the same permission of the parent! I already changed them, to the parent, using chmod -R +rw parent but each new folder created doesn’t get the same values!! I want +rw for ‘everyone’ on that new folder.
What should I do?
Thanks in advance!!
As far as I know there are no inheritance mechanism, but you can use umask for your case.
Example of how it works:
Above we have 022 masked out. Let’s set umask to 000: