[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mkdir bug?



On Tue 02 Nov 1999, Raul Miller wrote:
> On Tue, Nov 02, 1999 at 11:29:15AM +0100, Paul Slootman wrote:
> > Note that -p when creating a directory in the current directory is
> > pointless. -p implies "create any parent directories needed"; in
> > no situation can that be the case here.
> 
> "As needed" also means that if the directory is already there
> that it's not treated as an error condition.

Ah, I always interpreted it to mean parent directories, not the target
directory itself.

I still don't see why this influences the modes on the directory...


Paul Slootman
-- 
home:       paul@wurtel.demon.nl http://www.wurtel.demon.nl/
work:       paul@murphy.nl       http://www.murphy.nl/
debian:     paul@debian.org      http://www.debian.org/
isdn4linux: paul@isdn4linux.de   http://www.isdn4linux.de/


Reply to: