Bugzilla – Bug 141153
Non executable directories in various packages
Last modified: 2006-03-13 23:37:21 UTC
As stated e.g. here http://www.novell.com/products/linuxpackages/professional/chkrootkit.html , the permissions should be corrected as follows: drw-r--r-- 2 root root 0 Sep 9 18:03 /usr/share/doc/packages/chkrootkit -> drwxr-xr-x
chrootkit is not the only package affected. You can get a list using zgrep ": *d..-..-" ARCHIVES.gz To give you a short overview (ARCHIVES.gz from retail DVD): # zgrep ": *d..-..-" ARCHIVES.gz | cut -d: -f1 | uniq ./DVD1/suse/i586/pxe-1.4.2-4.i586.rpm ./DVD1/suse/i586/freeradius-1.0.4-4.i586.rpm ./DVD1/suse/i586/chkrootkit-0.45-3.i586.rpm ./DVD1/suse/i586/pcp-2.4.0-6.i586.rpm ./DVD1/suse/i586/x3270-3.2.20-291.i586.rpm ./DVD1/suse/noarch/storeBackup-1.19-2.noarch.rpm ./DVD1/suse/x86_64/chkrootkit-0.45-3.x86_64.rpm ./DVD1/suse/x86_64/freeradius-1.0.4-4.x86_64.rpm ./DVD1/suse/x86_64/pxe-1.4.2-4.x86_64.rpm ./DVD1/suse/x86_64/x3270-3.2.20-291.x86_64.rpm ./DVD1/suse/x86_64/pcp-2.4.0-6.x86_64.rpm
BTW: I reported the broken permissions of StoreBackup already - bug 132857
I fixed chkrootkit and pxe now. over to wolfgang for freeradius. cc rw for pcp, hare for x3270.
submitted freeradius
Regarding 'pcp': first: pah, duplicate of bug #129486, which has been rejected for SLES9SP3 -- feel free to use /work/src/done/DISCARDED/SLES9-SP3/pcp if you want a fixed package, and second: 'pcp' has been updated to 2.5.0 for SL10.1/SLES10.
i think most if not all of them are fixed now, a autobuild check finding them would be nice...
rpm -qplv the-new.rpm | grep "^d..-" should do the job ;-) BTW: There are still some packages packages with broken directory permissions (Factory tree as of 10.1 beta3): # zgrep "rpm:[ ]*d..-" ARCHIVES.gz | sed 's/root *root.*//' |sort -u ./inst-source/suse/i586/eID-belgium-2.52-2.i586.rpm: drw-r--r-- ./inst-source/suse/i586/x3270-3.2.20-292.i586.rpm: drw-r--r-- ./inst-source/suse/ppc/eID-belgium-2.52-2.ppc.rpm: drw-r--r-- ./inst-source/suse/ppc/x3270-3.2.20-292.ppc.rpm: drw-r--r-- ./inst-source/suse/x86_64/eID-belgium-2.52-2.x86_64.rpm: drw-r--r-- ./inst-source/suse/x86_64/x3270-3.2.20-292.x86_64.rpm: drw-r--r-- (grep without the "|sed ..." to see the directory names)
ok, the build check is on now. not about fixing those packages ...
done
The build check seems to work - there's no non-executable directory in todays Factory tree :-) Thanks!