On 15 Nov 2013 16:54:31 -0700 "Andy Bradford" <[email protected]> wrote:
> Thus said [email protected] on Fri, 15 Nov 2013 23:37:52 > +0000: > > > Oh dear... I think we've found the problem. I'd cloned the original > > repositories over SSH on the same server! I've no idea why I thought > > it was over HTTP before. > > That explains a lot. SSH URLs have full permission when cloning (unless > restricted using an SSH key and REMOTE_USER environment variable). Right, makes sense. > > I'm not sure this explains the apparently inconsistent behaviour in my > > last email, but it would at least explain why I've not run into it to > > date. > > Perhaps I missed it, but will you explain what you observed as > inconsistent? I'm not sure I did. I'd been trying various things on the original "examples" repository to test Stephan's original off-list suggestions which probably left me with a repository in a somewhat inconsistent state with regards to the things we'd been discussing (capabilities, etc), and then Ron Wilson mentioned something that I mistakenly took as agreement that something unusual was happening. Anyway, the following seems to work over http: server$ fossil init notbroken.fossil project-id: b9ee7d556e6dbd445a29e36c8e1c83299555d6a6 server-id: e2e18e29ee5ebe54efe992096e308066b194e7b8 admin-user: fossil (initial password is "68accc") server$ fossil user new -R notbroken.fossil ... server$ fossil user capabilities m0 -R notbroken.fossil u server$ fossil user capabilities m0 v -R notbroken.fossil v Client: $ fossil clone http://[email protected]/com.io7m.cirrus/notbroken notbroken.fossil password for m0: remember password (Y/n)? Round-trips: 2 Artifacts sent: 0 received: 3 Clone finished with 594 bytes sent, 1160 bytes received Rebuilding repository meta-data... 100.0% complete... project-id: b9ee7d556e6dbd445a29e36c8e1c83299555d6a6 admin-user: m0 (password is "65a74d") $ mkdir notbroken $ cd notbroken $ fossil open ../notbroken.fossil $ echo Hello > README.txt $ fossil add README.txt ADDED README.txt $ fossil commit -m 'Hello' Autosync: http://[email protected]/com.io7m.cirrus/notbroken Round-trips: 1 Artifacts sent: 0 received: 0 Pull finished with 368 bytes sent, 285 bytes received New_Version: bdf188dd290370f38f2905959718328a8446a111 Autosync: http://[email protected]/com.io7m.cirrus/notbroken Round-trips: 1 Artifacts sent: 2 received: 0 Sync finished with 1245 bytes sent, 341 bytes received ... So I think everything's OK! M _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

