Bug 184548 - Please stabilize =app-misc/detox-1.1.1-r2
Bug#: 184548 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: shell-tools@gentoo.org Reported By: mbres@gentoo.org
Component: Applications
URL:  http://sourceforge.net/tracker/index.php?func=detail&atid=630103&aid=1746108&group_id=101612
Summary: Please stabilize =app-misc/detox-1.1.1-r2
Keywords:  
Status Whiteboard: 
Opened: 2007-07-07 22:39 0000
Description:   Opened: 2007-07-07 22:39 0000
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

------- Comment #1 From Maarten Bressers 2007-07-07 22:40:29 0000 -------
Created an attachment (id=124190) [details]
Install files with correct permissions

------- Comment #2 From Raúl Porcel 2007-12-17 18:10:47 0000 -------
Fixed in -r2, amd64, mips: please stabilize it.

------- Comment #3 From Thomas Anderson (tanderson) 2007-12-20 13:16:29 0000 -------
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

------- Comment #4 From Thomas Anderson (tanderson) 2007-12-20 13:22:43 0000 -------
Created an attachment (id=138974) [details]
Permissions patch so that /usr/bin/detox has correct perms

------- Comment #5 From Thomas Anderson (tanderson) 2007-12-20 13:23:53 0000 -------
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...

------- Comment #6 From Samuli Suominen 2007-12-21 17:26:07 0000 -------
Fixed and amd64 stable.

------- Comment #7 From Jakub Moc (RETIRED) 2008-02-12 23:48:46 0000 -------
Closing wrt http://www.gentoo.org/news/20080210-mips-experimental-arch.xml