[rt-users] Masson -- Permission denied
Good morning! On Tuesday our RT server was down. The error is (because I haven't got any correct solution) the next: mkdir /opt/rt3/var/mason_data/obj/2362954981: Permission denied at /usr/lib/perl5/vendor_perl/5.10.0/HTML/Mason/Compiler/ToObject.pm line 107 My mason directory is that, and the group's user is www. I have tried to change to apache user, but that user doesn't exist. Do I have to create it? If the user existed, I didn't remove :( :( I have read the post of Ruslan in RT wiki [1], but I don't resolve the problem. Any idea? Thanks a lot!! PS. http://rt.bestpractical.com/view/PostQuestionsHere ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Masson -- Permission denied
Hi, On Wed, Mar 25, 2009 at 09:34:04AM +0100, Alberto Villanueva wrote: Good morning! mkdir /opt/rt3/var/mason_data/obj/2362954981: Permission denied at /usr/lib/perl5/vendor_perl/5.10.0/HTML/Mason/Compiler/ToObject.pm line 107 My mason directory is that, and the group's user is www. I have tried to change to apache user, but that user doesn't exist. Do I have to create it? If the user existed, I didn't remove :( :( Are you using the Apache web server to run RT? You should set the directory owner as www or www-data. If nothing works, try setting the permission to 777 on the mason_date/obj directory, but for security, better to change it back to 2750 once you have determined which user RT runs as and set the owner and group appropriately. -- Regards, Terence. http://www.deeproot.in Ph: +91 (80) 4089 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Masson -- Permission denied
I resolved before Terence answers :), but I'm speaking to my Cliente. They are happy :) My solution was next: Give write permission to ownership group. Best regards, Alberto Terence Monteiro escribió: Hi, On Wed, Mar 25, 2009 at 09:34:04AM +0100, Alberto Villanueva wrote: Good morning! mkdir /opt/rt3/var/mason_data/obj/2362954981: Permission denied at /usr/lib/perl5/vendor_perl/5.10.0/HTML/Mason/Compiler/ToObject.pm line 107 My mason directory is that, and the group's user is www. I have tried to change to apache user, but that user doesn't exist. Do I have to create it? If the user existed, I didn't remove :( :( Are you using the Apache web server to run RT? You should set the directory owner as www or www-data. If nothing works, try setting the permission to 777 on the mason_date/obj directory, but for security, better to change it back to 2750 once you have determined which user RT runs as and set the owner and group appropriately. -- Regards, Terence. http://www.deeproot.in Ph: +91 (80) 4089 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com