Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223387 - www-apps/postfixadmin-2.1.0-r1 incorrect file permissions with mysql USE flag
Summary: www-apps/postfixadmin-2.1.0-r1 incorrect file permissions with mysql USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gunnar Wrobel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-23 21:50 UTC by Allen Brooker (AllenJB)
Modified: 2008-06-01 15:08 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 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.