Re: [fpc-pascal] Re: Issue with deploying linux application in /opt directory

2012-09-04 Thread Krzysztof
Ouch, my fault :/ . I have created new build mode for QT from GTK build mode (stripped, without logs etc), but don't know why it copied also my debug defines from debug build mode. So, http threads tried to log response in opt folder. This fail so thread fail and this meant for me that something is

Re: [fpc-pascal] Re: Issue with deploying linux application in /opt directory

2012-09-04 Thread Bernd
2012/9/4 Mark Morgan Lloyd : > What files were changed by the chown -R operation? In other words, compare > before and after. One more thing comes to mind: It is necessary to set the x bit for folders. If you create the directory tree and then recursively chown and chmod all files and folders the

Re: [fpc-pascal] Re: Issue with deploying linux application in /opt directory

2012-09-04 Thread Mark Morgan Lloyd
Bernd wrote: 2012/9/4 Reinier Olislagers : Perhaps you're using some protection/privilege management system (AppArmor, SELinux, something else) that restricts internet access to the application running under root... The owner of the file or the folder does not affect under which UID it will r

Re: [fpc-pascal] Re: Issue with deploying linux application in /opt directory

2012-09-04 Thread Reinier Olislagers
On 4-9-2012 11:31, Bernd wrote: > The owner of the file or the folder does not affect under which UID it > will run. Agreed. > They will always run with the UID of the > user who started them (unless you set the suid bit which is considered > evil and should not be neccessary in most normal situat

Re: [fpc-pascal] Re: Issue with deploying linux application in /opt directory

2012-09-04 Thread Mark Morgan Lloyd
Reinier Olislagers wrote: On 3-9-2012 20:17, Krzysztof wrote: Hi, I have script which install my application in /opt/myapp directory. This script check if user is root so it can set permissions to read and access as executable. Everything works fine. After installation I can run this applicatio

Re: [fpc-pascal] Re: Issue with deploying linux application in /opt directory

2012-09-04 Thread Bernd
2012/9/4 Reinier Olislagers : > Perhaps you're using some protection/privilege management system > (AppArmor, SELinux, something else) that restricts internet access to > the application running under root... The owner of the file or the folder does not affect under which UID it will run. All oth

[fpc-pascal] Dpcrypt: AES hardware support

2012-09-04 Thread Reinier Olislagers
Hi list, This patch: http://bugs.freepascal.org/view.php?id=18527 seems to imply AES hardware support is now included in FPC. Might be useful to extend dpcrypt for those interested on blazingly fast AES support ;) Regards, Reinier ___ fpc-pascal mailli

[fpc-pascal] Re: Issue with deploying linux application in /opt directory

2012-09-04 Thread Reinier Olislagers
On 3-9-2012 20:17, Krzysztof wrote: > Hi, > > I have script which install my application in /opt/myapp directory. > This script check if user is root so it can set permissions to read > and access as executable. Everything works fine. After installation I > can run this application, but It doesn't