library should be installed with execute permissions
brouhaha opened this issue · comments
Packaging for Fedora. Had to put a chmod 755 libfaifa.so.0 in the RPM spec file. Package reviewer suggests that your makefile should do that.
That seems to contradict what my desktop has here:
-rw-r--r-- 1 root root 148K Feb 19 07:38 /usr/lib/libxenctrl-4.3.so
-rw-r--r-- 1 root root 173K Feb 19 07:38 /usr/lib/libxenguest-4.3.so
-rw-r--r-- 1 root root 379K Feb 19 07:38 /usr/lib/libxenlight-4.3.so
-rw-r--r-- 1 root root 63K Feb 19 07:38 /usr/lib/libxlutil-4.3.so
Is there a LSB document or guideline which suggests what is the best way to deal with shared library permissions?
Fedora's ldd is checking for executable flags and will spit a warning otherwise. Why exactly this is necessary, is an interesting question however!
Can you keep that change local to the RPM spec file until we figure out whether there is a known good rule and/or this is RPM specific?
A package reviewer doesn't understand the %attr() macro?
Maybe, um, they're new. :-/