
18 Feb
2004
18 Feb
'04
12:53 p.m.
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 etc.).
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. -- David Roundy http://www.abridgegame.org