[squeak-dev] Nasty side effect

Ben Coman btc at openinworld.com
Thu Feb 23 14:46:34 UTC 2017


On Thu, Feb 23, 2017 at 8:40 PM, Tobias Pape <Das.Linux at gmx.de> wrote:

>
> 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 …


As a sys admin you might write a tool to de-duplicate files for multiple
users.
(though probably not a common use case)

cheers -ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170223/09b247ce/attachment.html>


More information about the Squeak-dev mailing list