AW: AW: Need advice with Lion permission changes

Tiemo Hollmann TB toolbook at kestner.de
Fri Aug 5 04:21:12 EDT 2011


Hi Jan,
thank you for responding. It's good to know, there is still a backdoor,
which I will follow as plan B.
I now will take as an easier shortcut /Applications/myFolder/ to share my
files among all users.
Because I don't only have a registration and ini file, which needs to be
shared, I also have to share 8GB of videos for all users, this seems to me
the easiest way. Obviously it is not the recommended way by apple, because I
don't see any other application folders in /Applications/, but nevertheless
it seems to work after granting my file with chmod to all users.

Does anybody see anything serious against this approach?
Thanks
Tiemo


> -----Ursprüngliche Nachricht-----
> Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-
> bounces at lists.runrev.com] Im Auftrag von Jan Schenkel
> Gesendet: Donnerstag, 4. August 2011 13:24
> An: How to use LiveCode
> Betreff: Re: AW: Need advice with Lion permission changes
> 
> You can place them there, but the user has to have the right permissions.
> LiveCode 4.5 added support for 'elevated processes' - so you'd have to
create
> a separate (faceless) application and use 'open elevated process ...'
which
> will prompt the user for the required password, and then the separate
elevated
> process can write to those places.
> 
> Note that you should only use those places for 'support' files, not
database
> files or anything of the sort. Those you should proably put somewhere in
> /users/shared or something.
> 
> HTH,
> 
> Jan Schenkel.
> 
> =====
> Quartam Reports & PDF Library for LiveCode
> www.quartam.com
> 
> 
> =====
> "As we grow older, we grow both wiser and more foolish at the same time."
(La
> Rochefoucauld)
> 
> 
> ----- Original Message -----
> From: Tiemo Hollmann TB <toolbook at kestner.de>
> To: 'How to use LiveCode' <use-livecode at lists.runrev.com>
> Cc:
> Sent: Thursday, August 4, 2011 12:43 PM
> Subject: AW: Need advice with Lion permission changes
> 
> That is a real pain in the ass, because my app doesn't run anymore under
> lion and I haven't found a solution yet.
> 
> I have read over the last days guidelines and threads, but have not found
> any answer yet. Apple says about the /library/application support/ in the
> Mac OS X Developer library: " For example, you might use this directory to
> store application-created data files, configuration files, templates, or
> other fixed or modifiable resources that are managed by the application.",
> see:
>
http://developer.apple.com/library/mac/#documentation/FileManagement/Concept
>
ual/FileSystemProgrammingGUide/FileSystemOverview/FileSystemOverview.html#//
> apple_ref/doc/uid/TP40010672-CH2-SW1
> But I CAN'T create files anymore in this directory and I have nothing
found
> in the developer guidelines of apple, what has changed on lion and where
to
> store now common files.
> 
> The users directories are no solution for me (read my old threads)
> 
> I tried to create first a user folder in the users directory and then copy
> it to the common application support folder, but the access is obviously
> denied. I could do it only with sudo in the terminal. But if I try to run
> sudo mv ... in the shell from livecode, I get the same error, as already
> Josh: "no tty present and no askpass program specified" Can anybody shed
> some light on this? (same with sudo ditto) I have no clue what it means
and
> how I can get it working with sudo.
> 
> I can't believe that there is no place anymore, where you can store common
> app files! Am I the only one who needs common app files?
> I a pretty helpless and thankfull for every hint
> 
> P.S. @Ken Ray: You said " Yes, I got burned as well, but I *still* plan on
> writing "all users" support files in the /Library/Application Support
> folder, even if I have to go the extra mile to make it happen." I would
love
> if you could share your extra mile!
> 
> Thanks
> Tiemo
> 
> 
> > -----Ursprüngliche Nachricht-----
> > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-
> > bounces at lists.runrev.com] Im Auftrag von Pete
> > Gesendet: Dienstag, 2. August 2011 23:02
> > An: How to use LiveCode
> > Betreff: Re: Need advice with Lion permission changes
> >
> > I too am interested in the answer to this.  I'm not sure it ever got
> > resolved in the previous thread on the question.  Is there anywhere
under
> > Lion that files can be installed for use by all users without having to
> > resort to chmod commands?
> > Pete
> > Molly's Revenge <http://www.mollysrevenge.com>
> >
> >
> >
> 
> 
> 
> _______________________________________________
> 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
> 
> 
> _______________________________________________
> 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





More information about the Use-livecode mailing list