[Clo-devel] Permissions problems on Trac

Philippe Brochard pbrochard at common-lisp.net
Thu Nov 6 19:31:58 UTC 2014


Hi,

It seems to work. I'll tell you more on a next commit. But all seems
right.

Thanks a lot,

Best regards,

Philippe

Mario S. Mommer writes:

> Hi,
>
> I *think* I fixed this. Can you try again and let us know?
>
> Regards, and thanks,
>
> 	Mario
>
> On Thu, 06 Nov 2014 00:58:01 +0100
> Philippe Brochard <pbrochard at common-lisp.net> wrote:
>
>> Hi again,
>> 
>> It seems that the trac db has not the right permissions / group owner.
>> 
>> I get this for the clfswm project:
>> 
>> $ git push
>> Counting objects: 6, done.
>> Delta compression using up to 4 threads.
>> Compressing objects: 100% (6/6), done.
>> Writing objects: 100% (6/6), 691 bytes | 0 bytes/s, done.
>> Total 6 (delta 5), reused 0 (delta 0)
>> remote: Traceback (most recent call last):        
>> remote:   File
>> "/project/clfswm/public_html/git/trac-post-receive-hook.3.py", line
>> 196, in <module> remote:     handle_ref(env=env, *line.split())
>> remote:   File
>> "/project/clfswm/public_html/git/trac-post-receive-hook.3.py", line
>> 157, in handle_ref remote:     db = env.get_db_cnx() remote:   File
>> "build/bdist.linux-x86_64/egg/trac/env.py", line 418, in get_db_cnx
>> remote:   File "build/bdist.linux-x86_64/egg/trac/db/api.py", line
>> 288, in get_connection remote:   File
>> "build/bdist.linux-x86_64/egg/trac/db/pool.py", line 213, in get_cnx
>> remote:   File "build/bdist.linux-x86_64/egg/trac/db/pool.py", line
>> 134, in get_cnx remote: trac.db.pool.TimeoutError: Unable to get
>> database connection within 0 seconds. (TracError: The user pbrochard
>> requires read_and_write permissions to the database
>> file /project/clfswm/trac/db/trac.db and the directory it is located
>> in.)
>> 
>> 
>> 
>> On the clfswm project directory:
>> 
>> pbrochard at lisp:~$ ls -l /project/clfswm/trac/db/trac.db
>> -rw-rw-r-- 1 www-data www-data 4542464 Nov  5
>> 23:44 /project/clfswm/trac/db/trac.db
>> 
>> pbrochard at lisp:~$ touch /project/clfswm/trac/db/trac.db
>> touch: cannot touch `/project/clfswm/trac/db/trac.db': Permission
>> denied
>> 
>> pbrochard at lisp:~$ id
>> uid=1182(pbrochard) gid=100(users)
>> groups=100(users),32799(cl-wav-synth),32875(clfswm)
>> 
>> Sorry to bother you again,
>> 
>> Best regards,
>> 
>> Philippe
>> 
>> _______________________________________________
>> Clo-devel mailing list
>> Clo-devel at common-lisp.net
>> http://mailman.common-lisp.net/cgi-bin/mailman/listinfo/clo-devel
>
> _______________________________________________
> Clo-devel mailing list
> Clo-devel at common-lisp.net
> http://mailman.common-lisp.net/cgi-bin/mailman/listinfo/clo-devel




More information about the clo-devel mailing list