Question
Dear friends, by mistake I changed the permissions to the bin folder on my twiki debian installation running over wmware. After that change I got permissions error on apache and my twiki stops working. I manageg to fix the problem by setting again the 0755 permission on that folder and their files but it work only for one day so I have to perfom that operation everyday as these permission are removed. How can avoid this situation ?
Environment
--
AlbertoPalma - 16 Aug 2007
Answer
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.
This is the error I get:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-16 mod_perl/1.999.21 Perl/v5.8.4 Server at lantekwiki Port 80
--
AlbertoPalma - 17 Aug 2007
If the error says "More information about this error may be available in the server error log." than it would be a good idea to have a look in the server error log. It is located at
/var/log/apache2/error.log (I guess what you pasted from the screen is more accurate than what is in the form above).
TWiki does nothing to change file permissions every day, but perhaps you're running some
cron job from your security department which sets permissions to
0750? If so, the easiest solution is to change the
group of all the files in
bin and
lib to the group of the web server user, usually
www-data. Make sure that
lib/LocalSite.cfg is
0770 (so that you can run
bin/configure).
--
HaraldJoerg - 17 Aug 2007
I'd suggest using chown to change the file and directory ownerships to match those of your web server - in debian, i think thats
www-data though if you goto the
configure cgi-script, it will confirm that.
--
SvenDowideit - 18 Aug 2007
Closing this after more than 30 days of inactivity. Please feel free to reopen the question.
--
PeterThoeny - 03 Oct 2007