On Tue, Oct 21, 2008 at 20:33:32 -0700, Jason Dagit wrote:
> mkdir 'test_output', 0750;
>
> If I use System.Directory.setPermissions, then I think the closest I
> can approximate those permissions is:
> setPermissions "test_output" (Permissions {readable = True, writable =
> True, executable = True, searchable = True})
For what it's worth, I think the Perl script was really just trying to
do the equivalent of chmod u+x (without caring about other users)
> find (sub { chmod 0755, $_; }, @tmpdirs);
Likewise chmod u+w here.
--
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
signature.asc
Description: Digital signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
