[plt-scheme] Is there any way to make a file writable?

Matthew Flatt mflatt at cs.utah.edu
Wed Oct 1 09:28:23 EDT 2008


At Tue, 30 Sep 2008 11:52:24 -0700, "Greg Woodhouse" wrote:
> I see that you can get a file's permissions with
> file-or-directory-permissions, but there doesn't seem to be any way to
> change them. Am I missing something?

There's currently no function in `scheme' to set file permissions. You
could use the FFI to access chmod():

 http://list.cs.brown.edu/pipermail/plt-scheme/2008-May/024704.html


Matthew




More information about the plt-scheme mailing list