Lion problem report and fix
Mark Schonewille
m.schonewille at economy-x-talk.com
Thu Jul 21 18:14:34 EDT 2011
Hi Josh,
That's seems normal, since /Library isn't a user folder. Are you sure this is Lion-specific? Have you tried ~/Library/Application Support?
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce
On 21 jul 2011, at 23:38, Josh Mellicker wrote:
> Just wanted to let everyone know, Lion permissions default to not allowing Livecode to create folders in "/Library/Application Support/" with the "create folder" command.
>
> Here's how we got around it:
>
> First, this
>
> put "mkdir" && quote & "/Library/Application Support/theNewFolderWeNeed2create" & quote into tCmd
> get shell (tCmd)
> put it
>
> returns "Permission denied".
>
>
> But this:
>
> put "sudo mkdir -p" && quote & "/Library/Application Support/theNewFolderWeNeed2create" & quote into tCmd
> get shell (tCmd)
>
> creates the folder, and oddly, does not prompt for the password, at least in the IDE (haven't tried with a standalone yet).
>
> Then, this:
>
> put "sudo chmod -Rfv 777" && quote & "/Library/Application Support/theNewFolderWeNeed2create" & quote into tCmd
> get shell (tCmd)
>
> makes it so that folders and items can be freely created in the new folder by Livecode on Lion. So everything is back to normal a la the Leopards.
>
>
> Hope this helps someone out.
>
>
> And, if anyone has a better way, please post!
More information about the use-livecode
mailing list