permissions api in directory package is useless (and possibly harmful)

Duncan Coutts duncan.coutts at
Wed Jan 28 09:21:56 EST 2009

On Wed, 2009-01-28 at 14:57 +0100, Johan Tibell wrote:
> On Wed, Jan 28, 2009 at 2:13 PM, Duncan Coutts
> <duncan.coutts at> wrote:
> > We need to think about a new better permissions api for the
> > System.Directory module. The current api and also the implementation are
> > at best useless and possibly harmful.
> Perhaps there's something we can learn from the rearchitecture of
> Java's file handling that's happening in NIO 2. They're overhauling
> how files, directories, file systems, links, and metadata is handled.
> They address things such as providing both a lowest common denominator
> layer and platform specific "extensions".
> See for example
> starting at
> slide 17.

Yes, I'm sure there are some good ideas to consider there. I looked at
NIO1 and it's got some fairly sensible stuff.


More information about the Libraries mailing list