how to copy a folder from preferences under lion?

Richard Gaskin ambassador at fourthworld.com
Wed Aug 10 09:19:25 EDT 2011


Tiemo Hollmann wrote:
> My software had a folder and files in /library/Preferences/ where now under
> Lion the user has no permissions any more
>
> I want to build a migration tool for my customers to move the folder and
> files from /library/Preferences/ to the new location at
> /Applications/myFolder/.

What's wrong with using the folder Apple recommends?:

   specialFolderPath("preferences")

That will return the user's Prefs folder rather than the system's, so it 
should always be writable.

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  LiveCode Journal blog: http://LiveCodejournal.com/blog.irv




More information about the Use-livecode mailing list