Le 25/04/2016 12:55, Richard Hipp a écrit :

> On 4/25/16, Matthieu Dubuget <matthieu.dubu...@gmail.com> wrote:
>> I had to add "g Clone: Clone the repository" capability to allow users to
>> clone the repository on their own computer. It seems logical.
>> Here are the capabilities of my test user : bceghjnprw
>>
>>
>> But it seems it is not enough: when `fossil ui` is started, the ticket
>> tables, skins etc. where not copied.
>>
> I cannot reproduce the problem.  When I set "nobody" permissions to
> just "gjr" everything seems to clone over fine when I try it....
>
Thanks for testing.
This led me to doubt.
Just to be sure, I did some tests again (transcript below), only for the 
cloning step.
What would be your advice to understand what's going on?

Salutations

> matt@xps:~/projets/bmts$ ls -al
> total 4376
> drwxrwxr-x   2 matt matt    4096 avril 25 13:46 .
> drwxr-xr-x 165 matt matt    4096 avril 25 12:37 ..
> -rwxr-xr-x   1 matt matt 4469408 avril 21 11:35 fossil-1.34
>        
> matt@xps:~/projets/bmts$ ssh srvif ./fossil-1.34 user capabilities -R 
> bugsMetalscan.fossil
> Usage: ./fossil-1.34 user capabilities USERNAME ?PERMISSIONS?
> matt@xps:~/projets/bmts$ ssh srvif ./fossil-1.34 user capabilities test -R 
> bugsMetalscan.fossil
> qjr
>
> matt@xps:~/projets/bmts$ ./fossil-1.34 clone http://test@srvif:8085 bmts.fsl
> password for test:
> remember password (Y/n)? Y
> Round-trips: 3   Artifacts sent: 0  received: 0
> Error: login failed
> Round-trips: 3   Artifacts sent: 0  received: 0
> Clone done, sent: 816  received: 944  ip: 172.17.0.23
> server returned an error - clone aborted
>
> matt@xps:~/projets/bmts$ ssh srvif ./fossil-1.34 user capabilities test s -R 
> bugsMetalscan.fossil
> s
>
> matt@xps:~/projets/bmts$ ./fossil-1.34 clone http://test@srvif:8085 bmts.fsl
> password for test:
> remember password (Y/n)? Y
> Round-trips: 3   Artifacts sent: 0  received: 1467
> Clone done, sent: 825  received: 226769903  ip: 172.17.0.23
> Rebuilding repository meta-data...
>   100.0% complete...
> Extra delta compression...
> Vacuuming the database...
> project-id: cfe2e1683c0e6a2347ca3e7eb2e8c64b1c60b7a9
> server-id:  6990791695490d3f507fff91e1272b73cf86bca4
> admin-user: test (password is "225d82")
> matt@xps:~/projets/bmts$

-- 
Matthieu Dubuget

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to