[fpc-devel] Lazarus suddenly creates all config files read only among other things

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Thu May 26 09:03:59 CEST 2011



On Wed, 25 May 2011, ABorka wrote:

> OK, I just updated to the latest SVN trunk for FPC and Lazarus, and 
> recompiled them on Linux ("make clean all" as user, then "sudo make 
> install").
>
> I deleted ~./lazarus to have only the basic packages at first.
> After executing "startlazarus" as a user from my home dir like I did a 
> million times before, first of all it always complains that there is no 
> fpc.cfg for the compiler (which is not true, there is one in /etc , but even 
> if I put one into /usr/local/bin next to the fpc program it says that).
>
> Then it always complains that /usr/local/bin/fpc does not support target 
> linux-i386 (which is interesting considering I just compiled FPC and Lazarus 
> with it, in any case "fpc -iTOTP gives "linux i386")
>
> Then all the files created in ~./lazarus are read only, having only r-- --- 
> --- access rights, so every time Lazarus tries to exit, it complains that it 
> can not save the config files because they are read only.
>
> Same happens with every .res file it tries to create for new projects, etc.
>
> What could be the problem?

Fixed in revision 17560.

The problem was the new file sharing mode options at file create (D2010 compat).

Michael.



More information about the fpc-devel mailing list