Any user has write permissions to the users/<username>/library folder. No one, even administrators has write permissions to the /library folder. You would need to elevate the process somehow. That has come up before, and I am not sure what came of it. There is a shared folder that all users have write access to, but this is not the typical place to put prefs files.
Bob S > On Mar 27, 2019, at 23:45 , Peter Bogdanoff via use-livecode > <use-livecode@lists.runrev.com> wrote: > > I get "can't create that directory (13)” > > The challenge is to write a pref file to a non-user directory so the file is > available to all users in a lab setting. > > Peter > >> On Mar 27, 2019, at 11:36 PM, Richard Gaskin via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> Peter Bogdanoff wrote: >> >>> In attempting to create this folder in MacOS: >>> >>> put specialFolderpath("asup") & “/My Folder" into tURL >>> >>> [which yields tURL: /Library/Application Support/My Folder ] >>> >>> create folder tURL >>> >>> returns a result: can't create that directory >>> >>> >>> Why the error? > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode