Aladdin - Scala Bugtracking
[#860] project: compiler priority: low category: bug
submitter assigned to status date submitted
Burak Lex _ 2006-12-03 03:23:23.0
subject scriptrunner doesn't allow recompilation by different user?
code
#!/bin/sh 
#exec /home/buraq/scala/bin/scala -savecompiled $0
exec java -Dfile.encoding=utf-8 -classpath /home/buraq/scala/lib/fjbg.jar:/home/buraq/scala/lib/scala-compiler.jar:/home/buraq/scala/lib/scala-library.jar:/home/buraq/scala/lib/scala-dbc.jar:/home/buraq/scala/lib/pg.jar scala.tools.nsc.MainGenericRunner -savecompiled $0
!#
import scala.dbc._
what happened
I have a scalacompiler server running as user buraq. When I try starting it as another user (e.g. root, or more \
likely, www-data), then recompilation will not work.
ghazali:/home/buraq/kelimaat/cgi-bin# ./foo.cgi 
error: cannot create directory /tmp/scala5cr1p7-haX0R52333/$scala5cr1p7-haX0R
one error found
what expected the compile daemon be somewhat independent of the user that sends the recompilation request -- just as it is the case for execution
[back to overview]
Changes of this bug report