[Trac] Re: Trac on Leopard--not working properly
Perhaps try mod_wsgi instead then. See: http://www.modwsgi.org http://code.google.com/p/modwsgi/wiki/IntegrationWithTrac Graham On Jul 9, 11:01 am, Max <[EMAIL PROTECTED]> wrote: > Sorry I insist on this thread, but I still haven't solved my problem, > and I would appreciate some help from this list. > > When does its suppose to be created the file: /usr/local/share/trac/ > cgi-bin/trac.fcgi? As I don't have it created, and I presume is needed > to run Trac using Apache, correct? > > Max. > > On Jun 26, 12:50 am, Max <[EMAIL PROTECTED]> wrote: > > > Emmanuel wrote: > > > You've change the files' owner to _www, so only _www can R/W the files. > > > Which means that from the command line, you need to start tracd as the > > > _www user. > > > > It should also work with Apache shipped w/ Leopard. > > > The thing is that it doesn't. > > > > What do you want to exactly achieve (I'm not sure about your goals) ? > > > I want to do that, I would like to run Trac using Apache (the Leopard > > bundled one) and FastCGI (as far as I understand FastCGI is used by > > Trac). > > > I will recollect here what I have done (which is what it has been done > > in the tutorial I mentioned before > > --http://www.sonzea.com/articles/subversion-trac.html > > -- so, pretty much I'm just "copy-pasting" that section). > > > --Configure Apache to run TRAC using FastCGI-- > > > I created a file at /private/etc/apache2/extra called httpd- > > fastcgi.conf and added the following contents: > > > ###Starts File### > > # Enable fastcgi for .fcgi files > > > > AddHandler fastcgi-script .fcgi > > FastCgiIpcDir /private/var/run/fastcgi > > > > > LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so > > ###Ends File### > > *Note: I've noticed that I don't have the /private/var/run/fastcgi > > directory, is this a problem? > > > Created a file at /private/etc/apache2/extra called httpd-trac.conf > > and added the following contents: > > > ###Starts File### > > ScriptAlias /trac /usr/local/share/trac/cgi-bin/trac.fcgi > > FastCgiConfig -initial-env TRAC_ENV=/usr/local/trac > > > > > SetEnv TRAC_ENV "/usr/local/trac" > > > > > > > AllowOverride None > > Options None > > Order allow,deny > > Allow from all > > > > ###Ends File### > > *Note: I've also noticed that I don't have the file: /usr/local/share/ > > trac/cgi-bin/trac.fcgi nor directory /usr/local/share/trac/cgi-bin, is > > this a problem? > > > At the end of the file /etc/apache2/httpd.conf included directives to > > these new files: > > > ###At the very end of httpd.conf I added this lines### > > # FastCGI > > Include /private/etc/apache2/extra/httpd-fastcgi.conf > > > # TRAC > > Include /private/etc/apache2/extra/httpd-trac.conf > > ###Ends httpd.conf### > > > Then I restarted the server and tried the URLShttp://localhost/trac > > andhttps://localhost/tracandneither of them worked. I get a: > > > Forbidden > > You don't have permission to access /trac on this server. > > > With both of them. In the apache2 error_log I get: > > > [Thu Jun 26 00:43:51 2008] [error] [client ::1] client denied by > > server configuration: /usr/local/share/trac > > > Sorry for the long post, but I'm trying to give as much information as > > I can think of in order to get some advice on what to try. > > > Cheers, > > Max. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Trac on Leopard--not working properly
> When does its suppose to be created the file: /usr/local/share/trac/ > cgi-bin/trac.fcgi? As I don't have it created, and I presume is needed > to run Trac using Apache, correct? You need to use the obscure "deploy" command. I never used it, but you may find some info in the ML archive as this topic has been discussed recently. I always install Trac from the SVN source, egg stuff is giving me headaches ;-) You can run Trac w/ Apache several ways: either with mod_python, fast_cgi or cgi (avoid the latter) I use the following fcgi script on a Linux host, I guess I could try it on Leopard when I get some spare time. (the sys.path stuff should not be necessary on a typical installation, but again I prefer to run genshi and trac from the original source files rather than installing them with the setuptools/egg stuff) #!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (C) 2003-2008 Edgewall Software # Copyright (C) 2003-2004 Jonas Borgström <[EMAIL PROTECTED]> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists of voluntary contributions made by many # individuals. For the exact contribution history, see the revision # history and logs, available at http://trac.edgewall.org/log/. # # Author: Jonas Borgström <[EMAIL PROTECTED]> import os import sys try: sys.path += ['/local/engine/genshi', '/local/engine/trac'] from trac.web import fcgi_frontend os.environ['TRAC_ENV_PARENT_DIR'] = '/local/var/trac/projects' os.environ['PYTHON_EGG_CACHE'] = '/local/var/cache/egg' os.environ['LC_ALL'] = 'en_GB.UTF-8' fcgi_frontend.run() except SystemExit: raise except Exception, e: print 'Content-Type: text/plain\r\n\r\n', print 'Oops...' print print 'Trac detected an internal error:' print print e print import traceback import StringIO tb = StringIO.StringIO() traceback.print_exc(file=tb) print tb.getvalue() --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Trac on Leopard--not working properly
Sorry I insist on this thread, but I still haven't solved my problem, and I would appreciate some help from this list. When does its suppose to be created the file: /usr/local/share/trac/ cgi-bin/trac.fcgi? As I don't have it created, and I presume is needed to run Trac using Apache, correct? Max. On Jun 26, 12:50 am, Max <[EMAIL PROTECTED]> wrote: > Emmanuel wrote: > > You've change the files' owner to _www, so only _www can R/W the files. > > Which means that from the command line, you need to start tracd as the > > _www user. > > > It should also work with Apache shipped w/ Leopard. > > The thing is that it doesn't. > > > What do you want to exactly achieve (I'm not sure about your goals) ? > > I want to do that, I would like to run Trac using Apache (the Leopard > bundled one) and FastCGI (as far as I understand FastCGI is used by > Trac). > > I will recollect here what I have done (which is what it has been done > in the tutorial I mentioned before > --http://www.sonzea.com/articles/subversion-trac.html > -- so, pretty much I'm just "copy-pasting" that section). > > --Configure Apache to run TRAC using FastCGI-- > > I created a file at /private/etc/apache2/extra called httpd- > fastcgi.conf and added the following contents: > > ###Starts File### > # Enable fastcgi for .fcgi files > > AddHandler fastcgi-script .fcgi > FastCgiIpcDir /private/var/run/fastcgi > > > LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so > ###Ends File### > *Note: I've noticed that I don't have the /private/var/run/fastcgi > directory, is this a problem? > > Created a file at /private/etc/apache2/extra called httpd-trac.conf > and added the following contents: > > ###Starts File### > ScriptAlias /trac /usr/local/share/trac/cgi-bin/trac.fcgi > FastCgiConfig -initial-env TRAC_ENV=/usr/local/trac > > > SetEnv TRAC_ENV "/usr/local/trac" > > > > AllowOverride None > Options None > Order allow,deny > Allow from all > > ###Ends File### > *Note: I've also noticed that I don't have the file: /usr/local/share/ > trac/cgi-bin/trac.fcgi nor directory /usr/local/share/trac/cgi-bin, is > this a problem? > > At the end of the file /etc/apache2/httpd.conf included directives to > these new files: > > ###At the very end of httpd.conf I added this lines### > # FastCGI > Include /private/etc/apache2/extra/httpd-fastcgi.conf > > # TRAC > Include /private/etc/apache2/extra/httpd-trac.conf > ###Ends httpd.conf### > > Then I restarted the server and tried the URLShttp://localhost/trac > andhttps://localhost/tracand neither of them worked. I get a: > > Forbidden > You don't have permission to access /trac on this server. > > With both of them. In the apache2 error_log I get: > > [Thu Jun 26 00:43:51 2008] [error] [client ::1] client denied by > server configuration: /usr/local/share/trac > > Sorry for the long post, but I'm trying to give as much information as > I can think of in order to get some advice on what to try. > > Cheers, > Max. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Trac on Leopard--not working properly
Emmanuel wrote: > You've change the files' owner to _www, so only _www can R/W the files. > Which means that from the command line, you need to start tracd as the > _www user. > > It should also work with Apache shipped w/ Leopard. The thing is that it doesn't. > What do you want to exactly achieve (I'm not sure about your goals) ? I want to do that, I would like to run Trac using Apache (the Leopard bundled one) and FastCGI (as far as I understand FastCGI is used by Trac). I will recollect here what I have done (which is what it has been done in the tutorial I mentioned before -- http://www.sonzea.com/articles/subversion-trac.html -- so, pretty much I'm just "copy-pasting" that section). --Configure Apache to run TRAC using FastCGI-- I created a file at /private/etc/apache2/extra called httpd- fastcgi.conf and added the following contents: ###Starts File### # Enable fastcgi for .fcgi files AddHandler fastcgi-script .fcgi FastCgiIpcDir /private/var/run/fastcgi LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so ###Ends File### *Note: I've noticed that I don't have the /private/var/run/fastcgi directory, is this a problem? Created a file at /private/etc/apache2/extra called httpd-trac.conf and added the following contents: ###Starts File### ScriptAlias /trac /usr/local/share/trac/cgi-bin/trac.fcgi FastCgiConfig -initial-env TRAC_ENV=/usr/local/trac SetEnv TRAC_ENV "/usr/local/trac" AllowOverride None Options None Order allow,deny Allow from all ###Ends File### *Note: I've also noticed that I don't have the file: /usr/local/share/ trac/cgi-bin/trac.fcgi nor directory /usr/local/share/trac/cgi-bin, is this a problem? At the end of the file /etc/apache2/httpd.conf included directives to these new files: ###At the very end of httpd.conf I added this lines### # FastCGI Include /private/etc/apache2/extra/httpd-fastcgi.conf # TRAC Include /private/etc/apache2/extra/httpd-trac.conf ###Ends httpd.conf### Then I restarted the server and tried the URLS http://localhost/trac and https://localhost/trac and neither of them worked. I get a: Forbidden You don't have permission to access /trac on this server. With both of them. In the apache2 error_log I get: [Thu Jun 26 00:43:51 2008] [error] [client ::1] client denied by server configuration: /usr/local/share/trac Sorry for the long post, but I'm trying to give as much information as I can think of in order to get some advice on what to try. Cheers, Max. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Trac on Leopard--not working properly
> This works: > $ sudo -u _www tracd --port 8000 /usr/local/trac > > This is what doesn't work: > $ tracd --port 8000 /usr/local/trac > > Not even if I have given permissions in the following way: > $ sudo chown -R _www /usr/local/trac So everything is normal here: You've change the files' owner to _www, so only _www can R/W the files. Which means that from the command line, you need to start tracd as the _www user. It should also work with Apache shipped w/ Leopard. What do you want to exactly achieve (I'm not sure about your goals) ? Cheers, Manu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Trac on Leopard--not working properly
Emmanuel wrote: > This is weird: I'm using a similar config (Apache on Leopard, _www > user) and it works fine. This works: $ sudo -u _www tracd --port 8000 /usr/local/trac This is what doesn't work: $ tracd --port 8000 /usr/local/trac Not even if I have given permissions in the following way: $ sudo chown -R _www /usr/local/trac Or: $ sudo chown -R _www:_www /usr/local/trac It gives the permission errors that I have mentioned in this thread. Is it possible that my Trac installation is flawed in someway? First I installed 0.10.5 and then 0.11 to see if the latter solved the problem, but didn't. The way I installed 0.11 was: $ sudo easy_install http://svn.edgewall.org/repos/trac/branches/0.11-stable and I get: $ trac-admin --version trac-admin 0.11dev-r7219 $ which trac-admin /usr/local/bin/trac-admin $ which tracd /usr/local/bin/tracd Could I been missing some files from installation? Many thanks, Max. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Trac on Leopard--not working properly
> Yes, I did try it, it did not help. This is weird: I'm using a similar config (Apache on Leopard, _www user) and it works fine. Cheers, Manu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Trac on Leopard--not working properly
On Jun 23, 4:48 am, "Justin R. Miller" <[EMAIL PROTECTED]> wrote: > > TracError: The user max requires read _and_ write permission to the > > database file /usr/local/trac/db/trac.db and the directory it is > > located in. > > From the past messages in the thread, it's not clear that you've > changed ownership on the right directories. Try exactly this and see > if it helps: > > sudo chown -R _www:_www /usr/local/trac Yes, I did try it, it did not help. Thanks, Max. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Trac on Leopard--not working properly
On Jun 20, 6:02 pm, Max <[EMAIL PROTECTED]> wrote: > TracError: The user max requires read _and_ write permission to the > database file /usr/local/trac/db/trac.db and the directory it is > located in. From the past messages in the thread, it's not clear that you've changed ownership on the right directories. Try exactly this and see if it helps: sudo chown -R _www:_www /usr/local/trac -- Justin R. Miller Code Sorcery Workshop http://codesorcery.net --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Trac on Leopard--not working properly
Emmanuel wrote: > > Try > > sudo tracd --port 8000 /usr/local/trac > > Don't !! > That would lead to create files with root permissions ! > use: > sudo -u _www tracd --port 8000 /usr/local/trac Yes! That did work :) But I would like to enable HTTPS access through Apache, I have tried configuring it following http://www.sonzea.com/articles/subversion-trac.html and more recently http://codesorcery.net/2008/06/19/offline-subversion-building-a-trac-of-your-own without much luck as it gives me the error I mentioned before: TracError: The user max requires read _and_ write permission to the database file /usr/local/trac/db/trac.db and the directory it is located in. Cheers! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Trac on Leopard--not working properly
> Try > sudo tracd --port 8000 /usr/local/trac Don't !! That would lead to create files with root permissions ! use: sudo -u _www tracd --port 8000 /usr/local/trac --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Trac on Leopard--not working properly
Noah wrote: > The user max requires read _and_ write permission to the database file > /usr/local/trac/db/trac.db and the directory it is located in. > > You are not running tracd as _www, you are running it as your user. I don't know exactly what that means, by running as _www does it mean it has to been run by Apache? I have tried running it with Apache (Apache 2, installed by default on OS X 10.5), and I get the same error. Justin said: > I posted a howto for Leopard-based > Trac installation from the point of view of localhost-only and > potential offline access, say, on a laptop. I use it in the context of > Mac software development. > > http://codesorcery.net/2008/06/19/offline-subversion-building-a-trac-... > > Hope it's useful to folks. I tried following your tutorial as well, I set up the permissions with: sudo chown -R _www:_www . But I still get the same error: TracError: The user max requires read _and_ write permission to the database file /usr/local/tracroot/MyProject/db/trac.db and the directory it is located in. Does the database needs other type of permissions? I'm not well versed on permissions, so it might be worth mentioning that, my subversion repository is on the following route: /svnrep and I can HTTPS access it, even though it doesn't have _www permissions. I'm planning to migrate it to /usr/local/svnrep though, after reading your tutorial. David wrote: > Try > sudo tracd --port 8000 /usr/local/trac Yes, I forgot to mention that I have tried that before and it does work, but I want to be able to access it without running it as super- user. Am I missing something when setting up permissions. Thanks for your help folks, Max. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Trac on Leopard--not working properly
On 20-Jun-08, at 2:16 AM, Noah Kantrowitz wrote: > Max wrote: >> I'm trying to setup Trac under OS X (10.5.3), and I have followed >> several "tutorials" on how to do it without much success. The main >> source I have followed is http://www.sonzea.com/articles/subversion-trac.html >> following those instructions I managed to get to the point where I >> "have a functional and secure subversion server operating on port 443 >> using HTTPs". >> I do believe Trac (0.11rc2) is properly installed now, as I'm able to >> create a project under: /usr/local/, with: >> $ sudo trac-admin /usr/local/trac initenv >> $ sudo chown -R _www /usr/local/trac >> But then, when I try to access it with: >> $ tracd --port 8000 /usr/local/trac >> > > > The user max requires read _and_ write permission to the database > file /usr/local/trac/db/trac.db and the directory it is located in. > > You are not running tracd as _www, you are running it as your user. Try sudo tracd --port 8000 /usr/local/trac David Starr Technical Director Trapeze Animation [EMAIL PROTECTED] 902-370-3007 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Trac on Leopard--not working properly
Max wrote: > I'm trying to setup Trac under OS X (10.5.3), and I have followed > several "tutorials" on how to do it without much success. Along these lines, just yesterday I posted a howto for Leopard-based Trac installation from the point of view of localhost-only and potential offline access, say, on a laptop. I use it in the context of Mac software development. http://codesorcery.net/2008/06/19/offline-subversion-building-a-trac-of-your-own Hope it's useful to folks. -- Justin R. Miller Code Sorcery Workshop http://codesorcery.net --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Trac on Leopard--not working properly
Max wrote: I'm trying to setup Trac under OS X (10.5.3), and I have followed several "tutorials" on how to do it without much success. The main source I have followed is http://www.sonzea.com/articles/subversion-trac.html following those instructions I managed to get to the point where I "have a functional and secure subversion server operating on port 443 using HTTPs". I do believe Trac (0.11rc2) is properly installed now, as I'm able to create a project under: /usr/local/, with: $ sudo trac-admin /usr/local/trac initenv $ sudo chown -R _www /usr/local/trac But then, when I try to access it with: $ tracd --port 8000 /usr/local/trac I get the following error by accessing http://localhost:8000/trac Traceback (most recent call last): File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/ web/api.py", line 339, in send_error 'text/html') File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/ web/chrome.py", line 684, in render_template data = self.populate_data(req, data) File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/ web/chrome.py", line 592, in populate_data d['chrome'].update(req.chrome) File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/ web/api.py", line 168, in __getattr__ value = self.callbacks[name](self) File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/ web/chrome.py", line 460, in prepare_request for category, name, text in contributor.get_navigation_items(req): File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/ ticket/web_ui.py", line 133, in get_navigation_items if 'TICKET_CREATE' in req.perm: File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/ perm.py", line 523, in has_permission return self._has_permission(action, resource) File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/ perm.py", line 537, in _has_permission check_permission(action, perm.username, resource, perm) File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/ perm.py", line 424, in check_permission perm) File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/ perm.py", line 282, in check_permission get_user_permissions(username) File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/ perm.py", line 357, in get_user_permissions for perm in self.store.get_user_permissions(username): File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/ perm.py", line 173, in get_user_permissions db = self.env.get_db_cnx() File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/ env.py", line 257, in get_db_cnx return DatabaseManager(self).get_connection() File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/ db/api.py", line 76, in get_connection return self._cnx_pool.get_cnx(self.timeout or None) File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/ db/pool.py", line 101, in get_cnx cnx = self._connector.get_connection(**self._kwargs) File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/ db/sqlite_backend.py", line 126, in get_connection return SQLiteConnection(path, params) File "/Library/Python/2.5/site-packages/Trac-0.11rc2-py2.5.egg/trac/ db/sqlite_backend.py", line 168, in __init__ % (getuser(), path)) TracError: The user max requires read _and_ write permission to the database file /usr/local/trac/db/trac.db and the directory it is located in. I don't know what could be the problem for this, any help would be much appreciate it. The user max requires read _and_ write permission to the database file /usr/local/trac/db/trac.db and the directory it is located in. You are not running tracd as _www, you are running it as your user. --Noah signature.asc Description: OpenPGP digital signature