[plt-scheme] Error using sandbox

From: Noel Welsh (noelwelsh at gmail.com)
Date: Mon Mar 24 09:02:29 EDT 2008

I've changed the code to the following, but still get an error:

(parameterize ([current-directory (string->path
'(module m scheme/base (require "test.ss") (void)) #:allow-read
cleanse-path: file access denied

 === context ===
/usr/local/plt/collects/scheme/sandbox.ss:199:0: call-with-limits
/usr/local/plt/collects/scheme/sandbox.ss:371:0: evaluate-program
/usr/local/plt/collects/scheme/sandbox.ss:443:2: user-process

I don't understand why I can't access a file I have explicitly said to
allow.  Do I need to use a full path?


Posted on the users mailing list.