Skip to content

Running from a web server ,on Mac OS Racket try to open pref-dir of admin user that installed Racket instead of the one of current-user #786

@damien-mattei

Description

@damien-mattei

Hi,

it is not easy to reproduce as it requires, Mac OS, a web server running an application that run racket.

i run the web server that seems to run under user _www:

ps xau
_www 13856 0,0 0,6 410998272 204400 s007 S+ 11:52 0:00.63 /Applications/Racket/bin/racket

but when the web application using racket try to use the preference file it fall back to the one of me, mattei, administrator of the host, as seen in the output of httpd log:

[3] => interpole-fields : Racket/Scheme+ (find-system-path 'pref-file): /Users/mattei/Library/Preferences/org.racket-lang.prefs.rktd

Racket must use the preference file from _www which is the proprietary of the Rackett running process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions