Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2011-05

Lazarus suddenly creates all config files read only among other things

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

ABorka

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 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?

AB

Reply by email

Unknown author
to ABorka
ABorka wrote 21 lines
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.

Reply by email