racket / racket/drracket

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

Open
#786 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
516
Forks
103
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the report on macOS with a web server running under _www, then inspect the behavior of (find-system-path 'pref-file') and the logged preference path. Determine why the process uses /Users/mattei/Library/Preferences instead of the _www user's location; done means the web-server process resolves its own preference file.

Written by the indexing model from the issue text.

Assessment

Domain
backend, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.