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

2009-01-28 Thread Duncan Coutts
All, 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. I've been trying to debug various permission problems related to installing files with Cabal on Unix and Windows. Half

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

2009-01-28 Thread Johan Tibell
On Wed, Jan 28, 2009 at 2:13 PM, Duncan Coutts duncan.cou...@worc.ox.ac.uk 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

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

2009-01-28 Thread Duncan Coutts
On Wed, 2009-01-28 at 14:57 +0100, Johan Tibell wrote: On Wed, Jan 28, 2009 at 2:13 PM, Duncan Coutts duncan.cou...@worc.ox.ac.uk 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