Closing Lazarus 1.24: Read Error - Unable to create file ...? lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- Hansaplast · 2014-07-31 16:34 When closing Lazarus 1.2.4, I constantly get an error message, and was wondering if anyone could help with this. Not sure if it's a bug, or something in my setup. Code: [Select]Read Error Unable to create file "/User//.lazarus" I already deleted the entire /User//.lazarus directory, I also tried setting the access rights to the max (chmod 777, also for the files and directory in the directory), but I keep getting this error message. When looking at the files in that directory then I see that 5 files will be updated each time I close Lazarus: - EditorMacros.xml - environmentoptions.xml - includelinks.xml - inputhistory.xml - protocol.xml Lazarus: 1.2.4 (Intel, MacOS X / i386 Darwin Carbon) FPC: 2.6.4 MacOS X: 10.9.4 MacBook Pro Retina (early 2013), i7 quad core, 16Gb memory. ---------------------------------------------------------------------- Windsurfer · 2014-07-31 16:50 You may need to change owner. I suspect they may be owned by root or sudo. If you run Lazarus as user then you might see this error. ---------------------------------------------------------------------- Hansaplast · 2014-07-31 16:56 Thanks for the prompt reply!  Well I'm running Lazarus as the same user (hans) that owns all the directory and all the files in that directory ... (/User/Username/.lazarus) Didn't think to check that, so thanks for the tip! Lazarus itself is owned by root though, but I don't think that would cause the problem since I run Lazarus as the same user (hans). I'd hate to have to run Lazarus as root ... ---------------------------------------------------------------------- jwdietrich · 2014-07-31 21:17 Quote from: Hansaplast on July 31, 2014, 06:56:46 pmI'd hate to have to run Lazarus as root ... In some Linux distributions you always have to do so. However, I cannot reproduce the problem here. On Mac OS X 10.6 Snow Leopard Lazarus 1.2.4 runs (and quits) neatly from a normal user account (albeit one with administrative privileges). ---------------------------------------------------------------------- Hansaplast · 2014-07-31 21:36 I'm the only user on this computer and have admin rights. :-( Is lazarus keeping an error log or something alike? ---------------------------------------------------------------------- Hansaplast · 2014-07-31 21:38 When I start, restart and then close Lazarus I see the following in the console: Code: [Select]7/31/14 4:36:58.509 PM gkbisd[160]: Unable to collect cdhash for /Developer/lazarus/lazarus.app (error code 100024) 7/31/14 4:37:17.741 PM gkbisd[160]: Unable to collect cdhash for /Developer/lazarus/lazarus.app/Contents/Resources/startlazarus.app (error code 100024) 7/31/14 4:37:17.980 PM gkbisd[160]: Unable to collect cdhash for /Developer/lazarus/lazarus.app (error code 100024) ---------------------------------------------------------------------- jwdietrich · 2014-07-31 21:55 Did you have the same problem with older versions of Lazarus or did it start with version 1.2.4? ---------------------------------------------------------------------- Hansaplast · 2014-08-01 12:45 It started with 1.2.2 or 1.2.4 (I think 1.2.2) - but always just ignored it. Now that I'm actively developing an app, it just started to annoy me and wondered what the issue could be.