Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 184548
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Shell Tools Herd Bugs <shell-tools@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Maarten Bressers <mbres@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Makefile.in.patch Install files with correct permissions patch Maarten Bressers 2007-07-07 22:40 0000 3.47 KB Details | Diff
1.1.1-install-permissions-fix.patch.patch Permissions patch so that /usr/bin/detox has correct perms patch Thomas Anderson (tanderson) 2007-12-20 13:22 0000 536 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 184548 depends on: Show dependency tree
Bug 184548 blocks: 191559
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


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

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug