Can't open image file without write access
Hi, if I try to launch a Pharo image and the current user only has read access, I see a black window that never disappears. How can I launch an image without having write access to it? This is a problem for all pharo-based applications that companies will produce because they will probably be placed in read-only directories such as /usr/bin or /Applications or c:\program files -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
Both startup and shutdown write to the changes file which in this case does not make sense. On 2013-07-14, at 12:55, Damien Cassou <damien.cassou@gmail.com> wrote:
Hi,
if I try to launch a Pharo image and the current user only has read access, I see a black window that never disappears. How can I launch an image without having write access to it? This is a problem for all pharo-based applications that companies will produce because they will probably be placed in read-only directories such as /usr/bin or /Applications or c:\program files
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
On 14 July 2013 12:55, Damien Cassou <damien.cassou@gmail.com> wrote:
Hi,
if I try to launch a Pharo image and the current user only has read access, I see a black window that never disappears. How can I launch an image without having write access to it? This is a problem for all pharo-based applications that companies will produce because they will probably be placed in read-only directories such as /usr/bin or /Applications or c:\program files
are you sure this is image file, not .changes? because i see that VM uses fopen(file, "rb") for openiing it. btw, have you tried to trace system calls while launching VM? i just tried: ls -la ~/Downloads/NativeBoost/NativeBoost.image -r--r--r--@ 1 sig staff 25081972 Jul 12 19:48 /Users/sig/Downloads/NativeBoost/NativeBoost.image opening it without problem.
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
-- Best regards, Igor Stasenko.
On Sun, Jul 14, 2013 at 9:45 PM, Igor Stasenko <siguctua@gmail.com> wrote:
are you sure this is image file, not .changes?
both are read-only. I will check how to deactivate the startup and shudown scripts as Camillo suggested. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
Hi, i also want to know how to open image files <http://www.rasteredge.com/how-to/csharp-imaging/open-save-file/> .My computer support to open images ,but recently,there is something wrong.I wan to learn some easy way to do it.Thanks. -- View this message in context: http://forum.world.st/Pharo-dev-Can-t-open-image-file-without-write-access-t... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Dear Abigail111, On Tue, Sep 3, 2013 at 10:29 AM, Abigail111 <abigailklinton@yahoo.com> wrote:
Hi, i also want to know how to open image files <http://www.rasteredge.com/how-to/csharp-imaging/open-save-file/> .My computer support to open images ,but recently,there is something wrong.I wan to learn some easy way to do it.Thanks.
it looks like we are not talking about the same thing. I'm talking about Pharo image files (Pharo3.0.image for example) whereas you are talking about pictures (.png, .jpg...). If you have problems opening pictures, please send a separate email to the user's mailing list (pharo-users@lists.pharo.org) or to http://stackoverflow.com/. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
participants (4)
-
Abigail111 -
Camillo Bruni -
Damien Cassou -
Igor Stasenko