Downloading Updates --the current stack?

Frank D. Engel, Jr. fde101 at fjrhome.net
Wed May 18 08:54:44 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If your bundle is set up properly, then work with the assumption that a 
"normal" user will not be able to write to the bundle if it is 
installed for multiple users, but an administrator will be.  OTOH, if 
the bundle is installed for a single user, that user should have write 
permission.

This is a *good thing,* since it prevents arbitrary replacement of the 
stack's file by an ordinary user, possibly with false intent...

On May 18, 2005, at 4:27 AM, Klaus Major wrote:

> H Jeanne,
>
>> At 12:50 AM +0200 5/18/05, Malte Brill wrote:
>>
>>>  > JAED> If it's not the main stack of the running application, you 
>>> can
>>>>  JAED> download the file, replacing the outdated file, then use the 
>>>> revert
>>>  > JAED> command to load the new version from disk.
>>
>>> Could there be trouble with file permissions? E.g. If the stack is 
>>> inside the bundle on OsX?
>>>
>>
>> There shouldn't be. The revert command just reads the file - and the 
>> application had to do the same thing when it started up. If there's a 
>> problem with read permissions for the file, it will exist every time 
>> the user runs the application, even without downloading a new copy.
>
> i am sure Malte meant eventual problem with WRITE permissions inside 
> an OS X bundle.
>
> What about that?
>
> Anyway, i would recommend to store stack that might be 
> replaced/updated into some
> other place like where you DO have write permissions:
>
> ##Mac OS X/OS 9
> specialfolderpath("preferences")
> ##Prefs folder of current user
>
> ##Mac OS X:
> specialfolderpath("asup")
> ##Application Support
>
> ##Win 2000/XP
> specialfolderpath(35)
> ##Don't know the english name of this folder, sorry...
>
> ##Win 95,96,97,98
> specialfolderpath("system")
> ##a.k.a the black hole: "C:\Windows" :-)
>
> ##Unix/Linux
> $HOME
> ##(Homefolder of current user)
>
>> -- 
>> jeanne a. e. devoto ~ revolution at jaedworks.com
>> http://www.jaedworks.com
>
> Regards
>
> Klaus Major
> klaus at major-k.de
> http://www.major-k.de
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
- -----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at fjrhome.net>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCizsU7aqtWrR9cZoRAtrTAJ454REymGboxMCLAWb8YB3pI3jqXQCdGfJw
7sztfk2m7jAPMhn0RbamO4k=
=PSd5
-----END PGP SIGNATURE-----



___________________________________________________________
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com



More information about the use-livecode mailing list