ls -la <folder-name> *drwx------ 3 www-data www-data 4096 2012-02-15 01:26 .*
The line above is the details for the folder the ending dot means the current or selected directory. the drwx------ means the permission set, in this case the owner of the folder (www-data) has access do* r*ead, *w*rite, e*x*ecute (the initial *d*is of *di*rectory) if it is drwxrwx--- meand that owner (www-data) and group (www-data) has full access if you have dwrxwrxwrx means that everyone has full access. On Tue, Apr 3, 2012 at 10:05 AM, Mobility <[email protected]> wrote: > Como checo as permissões de execução no folder web2py? > > Em segunda-feira, 2 de abril de 2012 14h28min46s UTC-3, Ovidio Marinho > escreveu: > >> Check the permission folder ex. Grpup and owner = www-data >> >> Em segunda-feira, 2 de abril de 2012, Mobility<[email protected]> >> escreveu: >> > I am new to Web2py. I tried to deploy it on my Snow Leopard Server >> running Mac OS X Server 10.6.8. I have already installed on the server the >> wsgi module which I use with a Django app. >> > I installed web2py on the server following the guidelines on the >> deployment chapter of the Web2py Book (4th ed). The steps I took were: >> > 1. Created an user and group www-data using WorkGroup Manager; >> > 2. Created a virtual host web2py.mobility-br.com on the server; >> > 3. Downloaded the web2py source with the curl -O command; >> > 4. Installed on the wwwdata directory; >> > 5. Added the port 80 apache configuration lines to the >> web2py.mobility-br.com conf file using a include line; >> > 6. restarted the web service. No error on the server. >> > When I try to access the site I get the following message: >> > >> > Internal error >> > >> > Ticket issued: unrecoverable >> > >> > When I click on the link unrecoverable another page opens with: >> > >> > Access forbidden! >> > >> > You don't have permission to access the requested object. It is either >> read-protected or not readable by the server. >> > >> > If you think this is a server error, please contact the webmaster. >> > >> > Error 403 >> > >> > web2py.mobility-br.com >> > Mon Apr 2 06:58:27 2012 >> > Apache/2.2.21 (Unix) mod_python/3.3.1 Python/2.6.1 mod_ssl/2.2.21 >> OpenSSL/0.9.8r DAV/2 mod_wsgi/3.3 PHP/5.3.8 SVN/1.6.17 >> > In the error.log file I get the following error message: >> > >> > [Fri Mar 30 07:13:49 2012] [error] ERROR:web2py:Traceback (most recent >> call last): >> > [Fri Mar 30 07:13:49 2012] [error] File "/Users/wwwdata/web2py/gluon/ >> **main.py", line 394, in wsgibase >> > [Fri Mar 30 07:13:49 2012] [error] socket.gethostbyname(http_** >> host)] >> > [Fri Mar 30 07:13:49 2012] [error] gaierror: [Errno 8] nodename nor >> servname provided, or not known >> > Thanks for your help >> > >> >> -- >> >> >> >> Ovidio Marinho Falcao Neto >> Web Developer >> [email protected] >> [email protected] >> ITJP - itjp.net.br >> 83 8826 9088 - Oi >> 83 9334 0266 - Claro >> Brasil >> >> >> > Em segunda-feira, 2 de abril de 2012 14h28min46s UTC-3, Ovidio Marinho > escreveu: > >> Check the permission folder ex. Grpup and owner = www-data >> >> Em segunda-feira, 2 de abril de 2012, Mobility<[email protected]> >> escreveu: >> > I am new to Web2py. I tried to deploy it on my Snow Leopard Server >> running Mac OS X Server 10.6.8. I have already installed on the server the >> wsgi module which I use with a Django app. >> > I installed web2py on the server following the guidelines on the >> deployment chapter of the Web2py Book (4th ed). The steps I took were: >> > 1. Created an user and group www-data using WorkGroup Manager; >> > 2. Created a virtual host web2py.mobility-br.com on the server; >> > 3. Downloaded the web2py source with the curl -O command; >> > 4. Installed on the wwwdata directory; >> > 5. Added the port 80 apache configuration lines to the >> web2py.mobility-br.com conf file using a include line; >> > 6. restarted the web service. No error on the server. >> > When I try to access the site I get the following message: >> > >> > Internal error >> > >> > Ticket issued: unrecoverable >> > >> > When I click on the link unrecoverable another page opens with: >> > >> > Access forbidden! >> > >> > You don't have permission to access the requested object. It is either >> read-protected or not readable by the server. >> > >> > If you think this is a server error, please contact the webmaster. >> > >> > Error 403 >> > >> > web2py.mobility-br.com >> > Mon Apr 2 06:58:27 2012 >> > Apache/2.2.21 (Unix) mod_python/3.3.1 Python/2.6.1 mod_ssl/2.2.21 >> OpenSSL/0.9.8r DAV/2 mod_wsgi/3.3 PHP/5.3.8 SVN/1.6.17 >> > In the error.log file I get the following error message: >> > >> > [Fri Mar 30 07:13:49 2012] [error] ERROR:web2py:Traceback (most recent >> call last): >> > [Fri Mar 30 07:13:49 2012] [error] File "/Users/wwwdata/web2py/gluon/ >> **main.py", line 394, in wsgibase >> > [Fri Mar 30 07:13:49 2012] [error] socket.gethostbyname(http_** >> host)] >> > [Fri Mar 30 07:13:49 2012] [error] gaierror: [Errno 8] nodename nor >> servname provided, or not known >> > Thanks for your help >> > >> >> -- >> >> >> >> Ovidio Marinho Falcao Neto >> Web Developer >> [email protected] >> [email protected] >> ITJP - itjp.net.br >> 83 8826 9088 - Oi >> 83 9334 0266 - Claro >> Brasil >> >> >> -- Bruno Rocha [http://rochacbruno.com.br]

