Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131213 - Smarty owner/permissions or USE flags
Summary: Smarty owner/permissions or USE flags
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-25 05:29 UTC by Aurélien Requiem
Modified: 2006-04-25 05:38 UTC (History)
0 users

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 Aurélien Requiem 2006-04-25 05:29:56 UTC
Hi there.

We are currently using gentoo for our websites and we have to enable the php safe mode.
We use Smarty as a std package but when safe mode is On, we can't access to the files.
The ebuild should use one of the following solutions
1 - Files from smarty package should be owned by root:apache. (don't set apache:apache for security reasons). Then when safe mode is enabled, we can turn on safe_mode_gid.
2 - The second solution is to install smarty like phpmyadmin or something else with the 'vhosts' USE flag.

All comments, ideas are welcome.

Thank you :-)
Comment 1 Aurélien Requiem 2006-04-25 05:36:32 UTC
Well,

After some research with one of my developper, one of the workaround to this is to use "safe_mode_include_dir". Could it be possible to include a message in the ebuild telling this :)

Thank you :)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-25 05:38:06 UTC
Uhm, really - read the php docs on safe mode. There's no permissions problem here. We won't be adding messages, since this is not a smarty-specific issue.