On 21 Sep 2010, at 16:21, Henrik Johansen wrote:
On Tue, Aug 24, 2010 at 12:06 PM, Sven Van Caekenberghe <sven@beta9.be> wrote: Mariano,
BTW, starting a VM as user X accessing a startup file belonging to user Y doesn't seem to work either (even if Unix permissions would allow it).
I can't reproduce this (in 1.2), as long as user X has read permission to the file. Could you elaborate a bit further?
I had a script running under daemontools that looked as follows: #!/bin/bash VM=/home/sven/bin/squeak VM_PARAMS="-mmap 32m -vm-display-none -vm-sound-none" IMAGE=/home/sven/smalltalk/seaside-sven-1/deploy-seaside-sven-clustered.image USER=sven ARGS=/home/sven/smalltalk/seaside-sven-1/node1.st exec setuidgid $USER $VM $VM_PARAMS $IMAGE $ARGS Initially the USER was set to www-data and then it could not read files created by sven at at startup even when they were publically readable. So maybe it has something to do with the exec setuidgid mechanism in combination with the vm (or the vm startup script) ? Sven