Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 223387

Summary: www-apps/postfixadmin-2.1.0-r1 incorrect file permissions with mysql USE flag
Product: Gentoo Linux Reporter: Allen Brooker (AllenJB) <gentoo-bugs>
Component: Current packagesAssignee: Gunnar Wrobel (RETIRED) <wrobel>
Status: RESOLVED FIXED    
Severity: normal CC: web-apps
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Allen Brooker (AllenJB) 2008-05-23 21:50:53 UTC
The files installed into htdocs have the wrong permissions when the mysql USE flag is enabled. 

This is caused by the switch from cp (2.1.0) to doins (2.1.0-r1) for installing the files and the vacation script install code changing the permissions before this happens.

This can be fixed by adding the following lines before the fi at line 63:
		diropts -m775 -o root -g root
		insopts -m644 -o root -g root
Comment 1 Gunnar Wrobel (RETIRED) gentoo-dev 2008-06-01 15:08:22 UTC
Thanks for the fix. In CVS.