[Bug ada/66143] __gnat_set_executable insufficient for correct gprinstall
jeditekunum at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Dec 6 21:03:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66143
--- Comment #3 from jeditekunum at gmail dot com ---
Apparently there is something significant that I am not understanding here.
gprinstall is typically used to install a package for use system-wide in a
directory like /opt/{something}. On any normal Unix/Linux system the /opt
directory is not writable by anyone other than root so a sudo (or similar) is
required to run the entire install process. This results in files that are
owned by root.
system-wide implies that all users of the system can use it which is clearly
not the case when root is the owner and permissions are rwx-r--r--.
The convention for any other tool I've seen is that regardless of the owner of
the file it is accessible to "other" as needed for proper operation. I don't
see how any Ada-related tool would be any different.
More information about the Gcc-bugs
mailing list