[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: apparent complexity of mkdir-p module
From: |
Paul Eggert |
Subject: |
Re: apparent complexity of mkdir-p module |
Date: |
Thu, 07 Jun 2012 23:58:03 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
On 06/07/2012 05:09 AM, John W. Eaton wrote:
> I was expecting to find a simple interface
but unfortunately what you found is what's needed
to implement GNU 'mkdir -p'. Among other things,
the permissions of the parent directories differ
from the permissions of the child directory. It
of course is possible to come up with a
simpler API, and that might be worthwhile for other
apps, but GNU 'mkdir -p' couldn't easily use it.