[Fedora-packaging] Should .so files under python site dir be 755 perms?

Christopher Meng cickumqt at gmail.com
Tue Sep 10 10:01:09 UTC 2013


Hi,

I have a python-pygit2 review, in this review the reviewer asked me to
change the perms of the .so files from 755 to 644. In fact I've done
this for many other packages, but I want to ask if this is really
needed?

I've asked pygit2 upstream at: https://github.com/libgit2/pygit2/issues/259

They said that pillow has 755 perms so files, too. So I ran:

[rpmaker at fab PIL]$ ls -al|grep .so
-rwxr-xr-x.   1 root root  15768 8月  29 19:30 _imagingcms.so
-rwxr-xr-x.   1 root root  15976 8月  29 19:30 _imagingft.so
-rwxr-xr-x.   1 root root  18732 8月  29 19:30 _imagingmath.so
-rwxr-xr-x.   1 root root 290820 8月  29 19:30 _imaging.so
-rwxr-xr-x.   1 root root  10524 8月  29 19:30 _imagingtk.so
-rwxr-xr-x.   1 root root  10548 8月  29 19:30 _webp.so

Well seems they are 755, too.

What should I do now?

Thanks in advance.


Yours sincerely,
Christopher Meng

Always playing in Fedora Project

http://cicku.me


More information about the packaging mailing list