SID-01328: cache.db changes to root owner after manual Plugin install
| Status: |
Answered |
TWiki version: |
5.0.1 |
Perl version: |
|
| Category: |
LdapContrib |
Server OS: |
SLES 11 |
Last update: |
14 years ago |
After installing a plugin manually, using the root login, the cache.db changes to the root owner and I have to change it back
to the apache owner, otherwise I get the following message in the browser:
LdapContrib/cache.db: Permission denied
I have seen another Question where cron was the reason, but I do not have a cron against twiki.
--
RonMascarenhas - 2011-11-13
Discussion and Answer
Do you have any other process that is accessing TWiki as root from the shell, such as search engine or a script to push (test result, etc.) data into TWiki?
--
PeterThoeny - 2011-11-13
I don't have anything else running from root against TWiki. The only time I access TWiki from the shell is to install plugins manually, since I do not have a direct connection to the internet.
I do have one cron entry to update the twiki statistics but this happens daily without any problem
--
RonMascarenhas - 2011-11-14
I presume the statistics cron running as your webserver user?
--
PeterThoeny - 2011-11-14
This is what I have for the cron entry
@daily
/opt/IBM/twiki/bin/statistics >/dev/null 2>&1
--
RonMascarenhas - 2011-11-14
Make sure this cron runs as the web server user, and not as root.
--
PeterThoeny - 2011-11-14
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2012-01-23
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.