[squeak-dev] Nasty side effect

Tobias Pape Das.Linux at gmx.de
Thu Feb 23 12:40:13 UTC 2017


On 23.02.2017, at 13:11, David T. Lewis <lewis at mail.msen.com> wrote:

> On Thu, Feb 23, 2017 at 10:08:11AM +0100, Tobias Pape wrote:
>> Hi all
>> 
>> here's a nasty side effect of our way of ensuring that the heartbeat-thread thing works.
>> 	https://github.com/dalehenrich/metacello-work/issues/427#issuecomment-281919088
>> 
>> TL;DR:
>> 	(1) Run squeak w/ superuser/root rights creates the 'package-cache' directory as root
>> 	(2) Installing something with monticello then _SILENTLY_ fails
>> 
>> Both is bad.
>> So, (1) is hard to fix. I would have said, hey, if we are root, just _don't_ run squeak but just create the heartbeat files.
>> But that makes no sense when we actually want to run squeak as root.
> 
> Requiring that Squeak be run as root should be considered unacceptable. Period. Full Stop.

It's not required, but people may be misguided to think it should:

	https://github.com/squeak-smalltalk/squeak-app/blob/master/templates/all-in-one/squeak.sh#L73

or simply running it with sudo once, why-so-ever …


> 
> Dave
> 
> 



More information about the Squeak-dev mailing list