PrimitiveFailed: primitive #createDirectory: in UnixStore failed

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

PrimitiveFailed: primitive #createDirectory: in UnixStore failed

Jacob Wagner
Hi.  I am trying to run pharo 6 in an Ubuntu 16 vm running XFCE desktop environment.  I downloaded the 64 bit pharo zip and executed ./pharo
The pharo GUI starts but immediately a debugger opens with the title's error message.
After this, I cannot exit the VM normally by clicking the "x" in the upper right hand corner, i have to close the terminal because a similar error will popup if I try to close the window.

How should I proceed?  Not sure if I need to change permissions on files or whatever.  
<zenchess@gmail.com>
Reply | Threaded
Open this post in threaded view
|

Re: PrimitiveFailed: primitive #createDirectory: in UnixStore failed

Jacob Wagner
Sorry for the newbie answer, turns out I just needed to sudo ./pharo
<zenchess@gmail.com>
Reply | Threaded
Open this post in threaded view
|

Re: PrimitiveFailed: primitive #createDirectory: in UnixStore failed

Offray Vladimir Luna Cárdenas-2
Hi Jacob,

This means that you uncompressed the file using root permissions instead
of using default user ones, because you shouldn't need sudo to run
Pharo. The alternative should be to change the permissions on the folder
you made have Pharo so you don't need sudo each time. Something like

sudo chown -R myuser:myuser PharoFolder/

should work.

Cheers, and welcome to the community.

Offray


On 01/07/17 17:17, Jacob Wagner wrote:

> Sorry for the newbie answer, turns out I just needed to sudo ./pharo
>
>
>
>
> -----
> &lt;[hidden email]&gt;
> --
> View this message in context: http://forum.world.st/PrimitiveFailed-primitive-createDirectory-in-UnixStore-failed-tp4953142p4953215.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>