Re: [translate-pootle] Permission denied when running under Apache
Ok I wasn't giving access to the good user. As when I give to www-data user access to my po files : it works. I will try to create a new user for my pootle server. Thanks a lot Arnaud 2011/2/10 Cecilia Albertsson > Hi Arnaud, > > I had similar problems with Pootle on Apache, though I don't know if > there's a relation > to your problem. > > To be able to set up VCS handling, I created a user account "pootle" where > I do the > command line stuff, except the installation of Pootle itself (this is done > as root). > The group and owner of directory /home/www/pootle is pootle, and I run the > httpd > processes as the user pootle. > Also, to use VCS commit I had to set the HOME variable to pootle's home > directory. > > This is the corresponding change to /etc/httpd/conf/httpd.conf: > -- > ##User apache > ##Group apache > User pootle > Group pootle > > # To enable svn commit and update from the Pootle web interface, add > # to the environment the path to the home directory of the user 'pootle', > # where the svn authentication data is stored > SetEnv HOME /home/pootle > -- > > > Cecilia > > > > On 2011-02-10 11:34, Arnaud DOLE wrote: > > > Hi everyone, > > > > > > > > > I have installed Pootle on an apache server. > > > > > > I still have an error when I try to submit a translation. > > > > > > I get the following error on the web page : > > > > > > > > > *An error has occurred. Thank you for your patience.* > > > > > > *Error accessing /var/lib/pootle/po/project/po, Filesystem sent > error: > > > Permission denied* > > These and the following errors relate to file permissions. Apache must > > be able to read and write the PO files on the filesystem. Please check > > those permissions. > > > > -- > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > ___ > Translate-pootle mailing list > Translate-pootle@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/translate-pootle > -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle
Re: [translate-pootle] Permission denied when running under Apache
Hi Arnaud, I had similar problems with Pootle on Apache, though I don't know if there's a relation to your problem. To be able to set up VCS handling, I created a user account "pootle" where I do the command line stuff, except the installation of Pootle itself (this is done as root). The group and owner of directory /home/www/pootle is pootle, and I run the httpd processes as the user pootle. Also, to use VCS commit I had to set the HOME variable to pootle's home directory. This is the corresponding change to /etc/httpd/conf/httpd.conf: -- ##User apache ##Group apache User pootle Group pootle # To enable svn commit and update from the Pootle web interface, add # to the environment the path to the home directory of the user 'pootle', # where the svn authentication data is stored SetEnv HOME /home/pootle -- Cecilia > On 2011-02-10 11:34, Arnaud DOLE wrote: > > Hi everyone, > > > > > > I have installed Pootle on an apache server. > > > > I still have an error when I try to submit a translation. > > > > I get the following error on the web page : > > > > > > *An error has occurred. Thank you for your patience.* > > > > *Error accessing /var/lib/pootle/po/project/po, Filesystem sent error: > > Permission denied* > These and the following errors relate to file permissions. Apache must > be able to read and write the PO files on the filesystem. Please check > those permissions. -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle
Re: [translate-pootle] Permission denied when running under Apache
On 2011-02-10 12:22, Arnaud DOLE wrote: > Thanks for your response, > I changed owner of po directory to apache > I still have problems with permission : OSError: [Errno 13] Permission > denied: '/var/www/...po/.tmp Check that permission are correct on .tmp. You can easily create the .tmp directory yourself if needed. > 2011/2/10 Dwayne Bailey > >> On 2011-02-10 11:34, Arnaud DOLE wrote: >> >>> Hi everyone, >>> >>> >>> I have installed Pootle on an apache server. >>> >>> I still have an error when I try to submit a translation. >>> >>> I get the following error on the web page : >>> >>> >>> *An error has occurred. Thank you for your patience.* >>> >>> *Error accessing /var/lib/pootle/po/project/po, Filesystem sent error: >>> Permission denied* >>> >> These and the following errors relate to file permissions. Apache must be >> able to read and write the PO files on the filesystem. Please check those >> permissions. >> >> * >>> * >>> >>> Also, I have already get the same error but on .tmp files created by >>> Pootle. >>> >>> >>> And I get the following error in the log file. >>> >>> >>> *File "/usr/lib/python2.5/site-packages/pootle_store/fields.py", line 124, >>> in getpomtime* >>> >>> *[Thu Feb 10 11:26:09 2011] [error] file_stat = >>> os.stat(self.realpath)* >>> >>> *[Thu Feb 10 11:26:09 2011] [error] OSError: [Errno 13] Permission denied: >>> '/var/lib/pootle/po/.po'* >>> >>> * >>> * >>> >>> Should I solved this problem with Apache or with Pootle ? >>> >>> -- >>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >>> Pinpoint memory and threading errors before they happen. >>> Find and fix more than 250 security defects in the development cycle. >>> Locate bottlenecks in serial and parallel code that limit performance. >>> http://p.sf.net/sfu/intel-dev2devfeb >>> ___ >>> Translate-pootle mailing list >>> Translate-pootle@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/translate-pootle >>> >> > -- > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > ___ > Translate-pootle mailing list > Translate-pootle@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/translate-pootle -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle
Re: [translate-pootle] Permission denied when running under Apache
Thanks for your response, I changed owner of po directory to apache I still have problems with permission : OSError: [Errno 13] Permission denied: '/var/www/...po/.tmp 2011/2/10 Dwayne Bailey > > On 2011-02-10 11:34, Arnaud DOLE wrote: > >> Hi everyone, >> >> >> I have installed Pootle on an apache server. >> >> I still have an error when I try to submit a translation. >> >> I get the following error on the web page : >> >> >> *An error has occurred. Thank you for your patience.* >> >> *Error accessing /var/lib/pootle/po/project/po, Filesystem sent error: >> Permission denied* >> > These and the following errors relate to file permissions. Apache must be > able to read and write the PO files on the filesystem. Please check those > permissions. > > * >> >> * >> >> Also, I have already get the same error but on .tmp files created by >> Pootle. >> >> >> And I get the following error in the log file. >> >> >> *File "/usr/lib/python2.5/site-packages/pootle_store/fields.py", line 124, >> in getpomtime* >> >> *[Thu Feb 10 11:26:09 2011] [error] file_stat = >> os.stat(self.realpath)* >> >> *[Thu Feb 10 11:26:09 2011] [error] OSError: [Errno 13] Permission denied: >> '/var/lib/pootle/po/.po'* >> >> * >> * >> >> Should I solved this problem with Apache or with Pootle ? >> >> -- >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> ___ >> Translate-pootle mailing list >> Translate-pootle@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/translate-pootle >> > > -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle
Re: [translate-pootle] Permission denied when running under Apache
On 2011-02-10 11:34, Arnaud DOLE wrote: > Hi everyone, > > > I have installed Pootle on an apache server. > > I still have an error when I try to submit a translation. > > I get the following error on the web page : > > > *An error has occurred. Thank you for your patience.* > > *Error accessing /var/lib/pootle/po/project/po, Filesystem sent error: > Permission denied* These and the following errors relate to file permissions. Apache must be able to read and write the PO files on the filesystem. Please check those permissions. > * > * > > Also, I have already get the same error but on .tmp files created by Pootle. > > > And I get the following error in the log file. > > > *File "/usr/lib/python2.5/site-packages/pootle_store/fields.py", line 124, > in getpomtime* > > *[Thu Feb 10 11:26:09 2011] [error] file_stat = os.stat(self.realpath)* > > *[Thu Feb 10 11:26:09 2011] [error] OSError: [Errno 13] Permission denied: > '/var/lib/pootle/po/.po'* > > * > * > > Should I solved this problem with Apache or with Pootle ? > -- > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > ___ > Translate-pootle mailing list > Translate-pootle@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/translate-pootle -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle
[translate-pootle] Permission denied when running under Apache
Hi everyone, I have installed Pootle on an apache server. I still have an error when I try to submit a translation. I get the following error on the web page : *An error has occurred. Thank you for your patience.* *Error accessing /var/lib/pootle/po/project/po, Filesystem sent error: Permission denied* * * Also, I have already get the same error but on .tmp files created by Pootle. And I get the following error in the log file. *File "/usr/lib/python2.5/site-packages/pootle_store/fields.py", line 124, in getpomtime* *[Thu Feb 10 11:26:09 2011] [error] file_stat = os.stat(self.realpath)* *[Thu Feb 10 11:26:09 2011] [error] OSError: [Errno 13] Permission denied: '/var/lib/pootle/po/.po'* * * Should I solved this problem with Apache or with Pootle ? -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle