Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106765 - >=app-admin/sudo-1.6.8: /etc/sudoers installed with wrong permission
Summary: >=app-admin/sudo-1.6.8: /etc/sudoers installed with wrong permission
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Tavis Ormandy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 02:10 UTC by Martin Nowack
Modified: 2005-09-21 02:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Nowack 2005-09-21 02:10:05 UTC
Since version 1.6.8 /etc/sudoers get installed with wrong permission.   
Thats why sudo complains about wrong permission in logfiles and prevent   
starting applications.  
  
This can be easely fixed changing the last line in the src_install() section  
from  
     fperms 0640 /etc/sudoers 
to 
     fperms 0440 /etc/sudoers 
   

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Tavis Ormandy (RETIRED) gentoo-dev 2005-09-21 02:28:05 UTC
that's odd...seems to have changed between 1.6.8_p9 and -r1. 

I dont know why that was changed, but it's fixed in cvs anyway.

Thanks for the report.