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

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Tue Sep 4 12:06:03 CEST 2012

Bernd wrote:
> 2012/9/4 Reinier Olislagers <reinierolislagers at gmail.com>:
>> 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 other programs in the system and the folders where they
> are installed are usually owned by root (to prevent manipulation by
> users) but this does NOT affect in any way under which UID they will
> run when they are started. 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 situations).

Setuid root does not work with GTK. Appropriate use of capabilities does.

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the fpc-pascal mailing list