There is a package on the planet that will handle *nix file permissions: http://planet.plt-scheme.org/package-source/synx/util.plt/2/0/ (permissions) Here is a related thread: http://groups.google.com/group/racket-users/browse_thread/thread/6a05222262b29ec3?tvc=2
On Fri, Feb 25, 2011 at 10:24 AM, <[email protected]> wrote: > 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 > _________________________________________________ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users >
_________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

