Squeak cannot write to the changes file....

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Squeak cannot write to the changes file....

Randy Siler
I've just installed Squeak and started playing with it but it complains that it doesn't have write access to a needed folder

/private/var/folders/rz/...

I've tried giving full access to all the folders  from /private/var/folders/ down
but it doesn't solve the problem.

Any help appreciated.
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Squeak cannot write to the changes file....

Tobias Pape
Hi Randy

> On 13.07.2017, at 19:16, Randy Siler <[hidden email]> wrote:
>
> I've just installed Squeak and started playing with it but it complains that it doesn't have write access to a needed folder
>
> /private/var/folders/rz/...
>
> I've tried giving full access to all the folders  from /private/var/folders/ down
> but it doesn't solve the problem.

This looks like a known problem on newer OS X  (macOS) versions.

I presume you have downloaded the app and unpacked it in the Downloads folder and have run it from there.
macOS tries to be helpful and moves it away and denies any file read/write.

So what can you do?
Once you have downloaded and unzipped the App, >> Move it away from the Downloads folder <<.
Where does not matter too much. /Applications or the Desktop are common choices and should work.
Note that this only works if you move the App before you open it once. So best is to delete
the "old" app, Unzip, move the new app and then start it.

Best regards
        -Tobias


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Squeak cannot write to the changes file....

Randy Siler
Thanks very much, Tobias. Unfortunately even after moving the unzipped file to my applications folder (or even my home folder) I get the same warning.

mac OS Sierra 10.12.5

> On Jul 13, 2017, at 11:18 AM, Tobias Pape <[hidden email]> wrote:
>
> Hi Randy
>
>> On 13.07.2017, at 19:16, Randy Siler <[hidden email]> wrote:
>>
>> I've just installed Squeak and started playing with it but it complains that it doesn't have write access to a needed folder
>>
>> /private/var/folders/rz/...
>>
>> I've tried giving full access to all the folders  from /private/var/folders/ down
>> but it doesn't solve the problem.
>
> This looks like a known problem on newer OS X  (macOS) versions.
>
> I presume you have downloaded the app and unpacked it in the Downloads folder and have run it from there.
> macOS tries to be helpful and moves it away and denies any file read/write.
>
> So what can you do?
> Once you have downloaded and unzipped the App, >> Move it away from the Downloads folder <<.
> Where does not matter too much. /Applications or the Desktop are common choices and should work.
> Note that this only works if you move the App before you open it once. So best is to delete
> the "old" app, Unzip, move the new app and then start it.
>
> Best regards
> -Tobias
>
>
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Squeak cannot write to the changes file....

Randy Siler
In reply to this post by Tobias Pape
I notice that my older version of Squeak 5.0 works. But not the new version. Even if I follow your instructions.

> On Jul 13, 2017, at 11:18 AM, Tobias Pape <[hidden email]> wrote:
>
> Hi Randy
>
>> On 13.07.2017, at 19:16, Randy Siler <[hidden email]> wrote:
>>
>> I've just installed Squeak and started playing with it but it complains that it doesn't have write access to a needed folder
>>
>> /private/var/folders/rz/...
>>
>> I've tried giving full access to all the folders  from /private/var/folders/ down
>> but it doesn't solve the problem.
>
> This looks like a known problem on newer OS X  (macOS) versions.
>
> I presume you have downloaded the app and unpacked it in the Downloads folder and have run it from there.
> macOS tries to be helpful and moves it away and denies any file read/write.
>
> So what can you do?
> Once you have downloaded and unzipped the App, >> Move it away from the Downloads folder <<.
> Where does not matter too much. /Applications or the Desktop are common choices and should work.
> Note that this only works if you move the App before you open it once. So best is to delete
> the "old" app, Unzip, move the new app and then start it.
>
> Best regards
> -Tobias
>
>
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Squeak cannot write to the changes file....

Milan Vavra
In reply to this post by Randy Siler
This works for me on macOS Sierra 10.2.5:

* Download the file for macOS from http://squeak.org/downloads/
----
http://files.squeak.org/5.1/Squeak5.1-16549-32bit/Squeak5.1-16549-32bit-201701281910-macOS.zip
----

* In Finder, double click the file
----
Squeak5.1-16549-32bit-201701281910-macOS.zip
----
you have downloaded
.

* This will expand into
----
Squeak5.1-16549-32bit-All-in-One.app
----
.

* Drag
----
Squeak5.1-16549-32bit-All-in-One.app
----
to a different folder, say Desktop subfolder of my home directory.

* Double click the
----
Squeak5.1-16549-32bit-All-in-One.app
----
.

* Now you should be able to save the image
.

Best Regards,

Milan
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Squeak cannot write to the changes file....

Milan Vavra
Ooops.
Make that macOS 10.12.5
Best Regards,
Milan
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Squeak cannot write to the changes file....

Randy Siler
In reply to this post by Milan Vavra
Thanks to those who offered assistance.
I now suspect that something is wrong with my system, leading to the failure.
When I switch to a different user account and try again I don't have the problem.
So, I guess I need to rebuild my system before trying to use the 5.1 version of Squeak.

Thanks very much for your help.

> On Jul 14, 2017, at 10:31 AM, Milan Vavra <[hidden email]> wrote:
>
> This works for me on macOS Sierra 10.2.5:
>
> * Download the file for macOS from http://squeak.org/downloads/
> ----
> http://files.squeak.org/5.1/Squeak5.1-16549-32bit/Squeak5.1-16549-32bit-201701281910-macOS.zip
> ----
>
> * In Finder, double click the file
> ----
> Squeak5.1-16549-32bit-201701281910-macOS.zip
> ----
> you have downloaded
> .
>
> * This will expand into
> ----
> Squeak5.1-16549-32bit-All-in-One.app
> ----
> .
>
> * Drag
> ----
> Squeak5.1-16549-32bit-All-in-One.app
> ----
> to a different folder, say Desktop subfolder of my home directory.
>
> * Double click the
> ----
> Squeak5.1-16549-32bit-All-in-One.app
> ----
> .
>
> * Now you should be able to save the image
> .
>
> Best Regards,
>
> Milan
>
>
>
>
> --
> View this message in context: http://forum.world.st/Squeak-cannot-write-to-the-changes-file-tp4954787p4954894.html
> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Squeak cannot write to the changes file....

Tobias Pape

> On 15.07.2017, at 00:05, Randy Siler <[hidden email]> wrote:
>
> Thanks to those who offered assistance.
> I now suspect that something is wrong with my system, leading to the failure.
> When I switch to a different user account and try again I don't have the problem.
> So, I guess I need to rebuild my system before trying to use the 5.1 version of Squeak.

Before that, rename the app bundle or the identifier (org.squeak.Squeak51 or so) in the Info.plist in the .app/Contents folder.
macOS has remembered that the app has been run from the Downloads folder and is now picky about anything that looks like it :(

best regards
        -Tobias

>
> Thanks very much for your help.
>> On Jul 14, 2017, at 10:31 AM, Milan Vavra <[hidden email]> wrote:
>>
>> This works for me on macOS Sierra 10.2.5:
>>
>> * Download the file for macOS from http://squeak.org/downloads/
>> ----
>> http://files.squeak.org/5.1/Squeak5.1-16549-32bit/Squeak5.1-16549-32bit-201701281910-macOS.zip
>> ----
>>
>> * In Finder, double click the file
>> ----
>> Squeak5.1-16549-32bit-201701281910-macOS.zip
>> ----
>> you have downloaded
>> .
>>
>> * This will expand into
>> ----
>> Squeak5.1-16549-32bit-All-in-One.app
>> ----
>> .
>>
>> * Drag
>> ----
>> Squeak5.1-16549-32bit-All-in-One.app
>> ----
>> to a different folder, say Desktop subfolder of my home directory.
>>
>> * Double click the
>> ----
>> Squeak5.1-16549-32bit-All-in-One.app
>> ----
>> .
>>
>> * Now you should be able to save the image
>> .
>>
>> Best Regards,
>>
>> Milan
>>
>>
>>
>>
>> --
>> View this message in context: http://forum.world.st/Squeak-cannot-write-to-the-changes-file-tp4954787p4954894.html
>> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
>> _______________________________________________
>> Beginners mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Squeak cannot write to the changes file....

Milan Vavra
Having researched this a bit further...

== This issue is caused by the
----
com.apple.quarantine
----
macOS extended attribute.

*Either move the extracted folder before you double click it or
remove the extended attribute*.


* When the
----
Squeak5.1-16549-32bit-201701281910-macOS.zip
----
zip file is downloaded,
macOS Sierra 10.12.5 puts a
----
com.apple.quarantine
----
extended attribute on it.


== When you double click that file in Finder (or use unzip in Terminal)
macOS Sierra 10.12.5 also puts a
----
com.apple.quarantine
----
extended attribute on the
----
Squeak5.1-16549-32bit.app
----
folder that gets extracted from the zip file.


== Moving a folder in Finder (or using mv in Termminal)
modifies the
----
com.apple.quarantine
----
extended attribute of the folder being moved.

After the move,
----
Squeak5.1-16549-32bit.app
----
no longer causes the issue.



You can display and modify extended attributes in Terminal.

== To see extended attributes of all files in the current directory.
* In Terminal,  do
----
ls -l@
----

== To see the extended attributes of a file/directory
* In Terminal, do
----
xattr -l Squeak5.1-16549-32bit.app
----

== To remove all extended attributes of a file/directory
* In Terminal, do
----
xattr -c Squeak5.1-16549-32bit.app
----

== To remove the com.apple.quarantine extended attribute of a file/directory
* In Terminal, do
----
xattr -d com.apple.quarantine Squeak5.1-16549-32bit.app
----

Best Regards,

Milan

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Squeak cannot write to the changes file....

Randy Siler
It appears that executing
> xattr -c Squeak5.1-16549-32bit.app
in the terminal solved the problem.
(I actually substituted then name I had modified )
Thanks very much!
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Loading...