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

Bernd prof7bit at gmail.com
Tue Sep 4 11:31:12 CEST 2012


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).



More information about the fpc-pascal mailing list