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

Reinier Olislagers reinierolislagers at gmail.com
Tue Sep 4 11:57:00 CEST 2012


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

I don't know if SELinux, AppArmor etc take file ownership into account -
perhaps they don't (did throw in a disclaimer in my email :) )
Also, it isn't clear to me whether the OP runs his application as root
or as his user before and after his chown -R operation...




More information about the fpc-pascal mailing list