Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-30 Thread Sean Cole (Pi) via use-livecode
Hi Matthias, The quote from Apple was in reference to the Library/Preferences folder in the User directory, not the one in the root. To make it even more abundantly clear this is what was meant, this page specifically references ~/...

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-30 Thread Trevor DeVore via use-livecode
> > The Apple Dev Docs say this about the /Library/Preferences/ folder: > > > You should not create files in this directory yourself. Instead, use the > > NSUserDefaults class or CFPreferences API to get and set preference > values > > for your app. > > Use of NSUserDefaults has not yet been set

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-30 Thread Bob Sneidar via use-livecode
Of course asking end users to change permissions on folders is pretty much a non-starter. Bob S > On Oct 30, 2018, at 07:28 , Sean Cole (Pi) via use-livecode > wrote: > > Hi Matthias, > This is, without any doubt, a permissions issue and definitely nothing to > do with sandboxing. You need

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-30 Thread Matthias Rebbe via use-livecode
Hi Sean, thanks for the information. But my app writes to the ~/Library/Preferences folder. And therefore the user should have write access to it. As i wrote. On a new Mojave installation on a VM (i still have 10.13.6 here) i was able to write the registration details to that folder without

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-30 Thread Sean Cole (Pi) via use-livecode
Hi Matthias, This is, without any doubt, a permissions issue and definitely nothing to do with sandboxing. You need to unlock the folder you are saving to. The recommended form is to have a folder within the preferences folder named [domain].[appName] (ie, com.mycompany.myapp), and store your

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-30 Thread Matthias Rebbe via use-livecode
Tried here now with a standard user and an admin account. It works with both account types w/o problems. I will have to contact the customer again. A big problem is that he´s Italian and does not speak english. At least his first emails were in Italian unless i mentioned that i had to

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-29 Thread Bob Sneidar via use-livecode
I wonder if they are looged in as administrators? Bob S > On Oct 29, 2018, at 16:05 , Matthias Rebbe via use-livecode > wrote: > > I´ve setup a VM with Mojave and my app was able to write the registration > data to the preferences folder without a problem. > > So i am not sure what´s going

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-29 Thread Matthias Rebbe via use-livecode
I´ve setup a VM with Mojave and my app was able to write the registration data to the preferences folder without a problem. So i am not sure what´s going on on the machine of the customer. But at least i know now that my app is able to access that folder. Regards Matthias Rebbe free tools

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-29 Thread Bob Sneidar via use-livecode
Sounds like more onerous sandboxing. I see why it's necessary, but I have a simpler and more elegant solution: Have an international moratorium on all malicious hackers where the penalty is a life sentence on the frozen moon Rura Penthe. By that I mean hard labor. Until we get tough, and I mean

Re: Is it not possible to write to the user preference folder in Mojave?

2018-10-29 Thread Paul Dupuis via use-livecode
We make and sell a couple of research applications developed in LiveCode. Increasingly, on both OSX and Windows, we are running into to customers who's permissions prevent out app from writing to locations that were once (in older OS versions) writable. In some cases, this has been due to changes

Is it not possible to write to the user preference folder in Mojave?

2018-10-28 Thread Matthias Rebbe via use-livecode
Hi. Today i was informed by a customer that my app BRx Converter is not able to write data to the preference folder ~/library/preferences. The app normally writes some registration info after successful registration to that folder. After that the app is switched from demo to full mode. But