Storing location for a preferences file in a standalone stack?

Andre Garzia andre at andregarzia.com
Sun Sep 30 20:19:11 EDT 2012


Folks,

Haven't you seen my email above?

If running as a non-admin user you need to use:

put "~" & specialfolderpath("asup") into tPath.

The return value from specialFolderPath("asup") is the system wide support
folder which the normal user can't write to. You need the user folder which
you will get by prepending a tilde.

On Sun, Sep 30, 2012 at 9:15 PM, Dr. Hawkins <dochawk at gmail.com> wrote:

> On Sun, Sep 30, 2012 at 12:48 PM, Klaus on-rev <klaus at major.on-rev.com>
> wrote:
> >
> > This works on the Mac:
> > specialfolderpath("asup") -> "~/Library/Application Support
>
> However, running as a user, when trying to create a directory within
> it, "can't create that directory"
>
> Is there a way to trigger the password request to do this?  And then
> to set the universal or group write access?
>
> --
> Richard E. Hawkins, Esq.
> (702) 508-8462
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.



More information about the use-livecode mailing list