Since /usr/bin/install is called without a permissions argument (-m), all files get 755 permissions after 'make install', eg: $ ls -l /etc/detoxrc -rwxr-xr-x 1 root root 1901 Jul 1 12:41 /etc/detoxrc This also applies to the man-pages, *.tbl and *.sample files. Patch for Makefile.in attached. Reproducible: Always Steps to Reproduce: 1. emerge app-misc/detox 2. 3. Actual Results: Files have 744 permissions Expected Results: Files should have 644 permissions
Created attachment 124190 [details, diff] Install files with correct permissions
Fixed in -r2, amd64, mips: please stabilize it.
While the original problem is fixed, -r2 introduces a new bug. /usr/bin/detox doesn't even have +x! My /usr/bin/detox has these permissions: -rw-r--r-- 1 root root 50634 Dec 20 08:14 detox Now that is definitely *not* correct. If I have time I'll make up a patch
Created attachment 138974 [details, diff] Permissions patch so that /usr/bin/detox has correct perms
With this patch, /usr/bin/detox has these perms: -rwxr-xr-x 1 root root 50634 Dec 20 08:27 detox I'm not done testing though...
Fixed and amd64 stable.
Closing wrt http://www.gentoo.org/news/20080210-mips-experimental-arch.xml