Just did an upgrade from 3.0.5 to 3.0.6. Was getting the same error as this post http://forums.otrs.org/viewtopic.php?f=63&t=8184 .
Starting a new thread because the other was marked Solved and this is not solved. The SetPermissions script is not correctly setting the folder permissions for the otrs/var/httpd folder. It's leaving them set as otrs:otrs owned when they need to be at least writable by the apache web user (www-data in the case for Ubuntu).
SetPermissions not correctly setting httpd folder
Moderator: crythias
SetPermissions not correctly setting httpd folder
OTRS 3.0.7 | Ubuntu 10.04 LTS | Postgresql 8.4.7
Re: SetPermissions not correctly setting httpd folder
can yu post the command you used?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: SetPermissions not correctly setting httpd folder
I used the /otrs/bin/otrs.SetPermissions.pl file
To fix it I made the /otrs/var/httpd folder owned by the www-data group
chgrp -R www-data httpd
Then made the folder group writable
chmod -R g+w httpd
To fix it I made the /otrs/var/httpd folder owned by the www-data group
chgrp -R www-data httpd
Then made the folder group writable
chmod -R g+w httpd
OTRS 3.0.7 | Ubuntu 10.04 LTS | Postgresql 8.4.7
Re: SetPermissions not correctly setting httpd folder
Just did the upgrade from 3.0.6 to 3.0.7. This is still happening
It's leaving several folders with the user permissions that extracted the tar file. As an example of the /var folder
pcrweb is our general web server user
Code: Select all
sudo ./otrs.SetPermissions.pl --otrs-user=otrs --web-user=www-data --otrs-group=otrs --web-group=www-data /opt/otrs
Code: Select all
drwxrwsr-x 2 otrs www-data 4096 2011-03-25 01:39 article
drwxr-xr-x 2 pcrweb pcrweb 4096 2011-03-25 01:39 cron
drwxr-xr-x 3 pcrweb pcrweb 4096 2011-03-25 01:39 httpd
drwxrwsr-x 2 otrs www-data 4096 2011-04-12 11:15 log
-rw-r--r-- 1 pcrweb pcrweb 23707 2010-10-26 09:49 logo-otrs.png
drwxr-xr-x 2 pcrweb pcrweb 4096 2011-03-25 01:40 packages
drwxrwsr-x 2 otrs www-data 4096 2011-03-25 01:39 sessions
drwxrwsr-x 2 otrs www-data 4096 2011-03-25 01:39 spool
drwxrwsr-x 2 otrs www-data 4096 2011-03-25 01:39 stats
drwxrwsr-x 4 otrs www-data 4096 2011-04-12 11:25 tmp
OTRS 3.0.7 | Ubuntu 10.04 LTS | Postgresql 8.4.7