[racket] file permissions and ownership
On Tue, Feb 22, 2011 at 08:36:01PM +0100, Manfred Lotz wrote:
> Hi there,
> Is there a way to set file resp. directory permission and ownership
> from racket? I didn't find anything in the documentation.
For lack of an answer from someone more experienced, I see two
ways to do this.
The quick & dirty way would be to call the usual permission and
ownership programs from within Racket. See
http://docs.racket-lang.org/reference/subprocess.html#(part._.Simple_.Subprocesses)
If you're more ambitious, you can develop a foreign function to
do the job. See http://docs.racket-lang.org/foreign/
Mike