[Lazarus] DeleteFile

2017-10-31 Thread Agustìn Gregorieu via Lazarus
Hi! I have a CGI program that must delete files from a server and it's owned by www-data which allows me to read a file but not to delete it, even though the file has permissions 777. The folder containing the files I want to delete has permissions "drwxrwxrwx" and it's owned by "root:root" and

Re: [Lazarus] "Ambiguous unit found" message

2017-10-31 Thread Bart via Lazarus
On Tue, Oct 31, 2017 at 11:17 AM, Juha Manninen via Lazarus wrote: > I was surprised that Application.MessageBox and ShowMessage behaved the same. > Many apps, including the IDE, use ShowMessage. I think its behavior > should be improved. Anybody who wants the

Re: [Lazarus] "Ambiguous unit found" message

2017-10-31 Thread Juha Manninen via Lazarus
On Tue, Oct 31, 2017 at 11:25 AM, Alexey via Lazarus wrote: > It is caused by WinAPI truncating path. i suggested to make workaround for > WinAPI, but guys declined. This was the issue: https://bugs.freepascal.org/view.php?id=31312 I was surprised that

Re: [Lazarus] "Ambiguous unit found" message

2017-10-31 Thread Alexey via Lazarus
On 31.10.2017 12:41, Michael Van Canneyt via Lazarus wrote: Hm. Somehow the use of the word 'sad' at the end reminds me of the tweets of the Orange Emperor... I saw such tweets from anther man. E.g. "Today we have meeting. They don't understand this and this. Sad!" -- Regards, Alexey --

Re: [Lazarus] "Ambiguous unit found" message

2017-10-31 Thread Michael Van Canneyt via Lazarus
On Tue, 31 Oct 2017, Mattias Gaertner via Lazarus wrote: On Tue, 31 Oct 2017 10:01:38 +0100 Werner Pamler via Lazarus wrote: Since all fixed-size message boxes, sooner or later, will run into this problem: Shouldn't message dialogs be resizable by default?

Re: [Lazarus] "Ambiguous unit found" message

2017-10-31 Thread Mattias Gaertner via Lazarus
On Tue, 31 Oct 2017 10:01:38 +0100 Werner Pamler via Lazarus wrote: > Since all fixed-size message boxes, sooner or later, will run into this > problem: Shouldn't message dialogs be resizable by default? +1 Fixed size dialogs came from Windows and some people

Re: [Lazarus] "Ambiguous unit found" message

2017-10-31 Thread Alexey via Lazarus
On 31.10.2017 12:01, Werner Pamler via Lazarus wrote: the interesting parts are hidden by the "...", no way to expand the dialog: It is caused by WinAPI truncating path. i suggested to make workaround for WinAPI, but guys declined. -- Regards, Alexey --