- create the directory ./usr, with the mode based on the umask
- create the directory ./usr/bin, with the mode based on the umask
- create the directory ./usr/bin/foo, with the mode 0755
I tried at the time to get the man page corrected, but I was told at the time that nobody reads man pages, and the info page is correct, so it won't be fixed.
I figured after almost 10 years, perhaps thinking has evolved. Can we fix the man page?
I have a suggested fix: the current man page reads:
-p, --parents
no error if existing, make parent directories as needed
I can be updated to read:
-p, --parents
no error if existing, make parent directories as needed, setting
their file permission bits to the umask modified by ‘u+wx’.
I copied the new text from the info page.