[Haskell-cafe] setPermissions bug?
droundy at abridgegame.org
Wed Feb 18 07:53:33 EST 2004
On Wed, Feb 18, 2004 at 12:31:34PM -0000, Simon Marlow wrote:
> > I presume that this is a bug in setPermissions?
> Yes, it's a bug. However, since getPermissions/setPermissions doesn't
> really give you enough control in Unix, I suggest you use the functions
> available from System.Posix instead (fileStatus, fileMode, setFileMode
Well, in my case all I want to do is to copy permissions from one file to
another, so get/setPermissions would have been fine. But yeah, I've
already switched to using setFileMode etc.
More information about the Haskell-Cafe