On Tue, Jan 30, 2007 at 09:51:38AM -0800, Paul Eggert wrote: > > When running mkdir with -m and -p options, the specified mode is not > > honored for parent directories. This is consistent with the > > documentation, but it strikes me as a bit bogus. Is there a reason > > for this behavior? > > It's the tradition, and POSIX requires it. See > <http://www.opengroup.org/susv3/utilities/mkdir.html>.
Of course. Should have looked there before sending mail over the list. Thanks for your quick response. I still think that the behavior is nonintuitive, and that some sort of GNU --extra-flag might be in order, but cooking up a patch for that would be far more work than simply chmod-ing after mkdir-ing. Thanks again, Paul -- Paul T. Darga - [EMAIL PROTECTED] - http://www.eecs.umich.edu/~pdarga/ "When I gave food to the poor, they called me a saint. When I asked why the poor were hungry, they called me a communist." -- Dom Helder Camara, Brazilian Bishop, Nobel Peace Prize nominee _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
