What am I doing wrong? I realize I havent read up on any user management but I'm completely local here and never created any users myself so why wouldnt it work?
pc@pc-desktop:~/Desktop$ ./fossil test-hash-passwords test-fossil
pc@pc-desktop:~/Desktop$ ./fossil server
Listening for HTTP requests on TCP port 8080
pc@pc-desktop:~/testcheckout$ ./fossil clone http://localhost:8080 bla
pc@pc-desktop:~/testcheckout$ ./fossil add .
current directory is not within an open checkout
pc@pc-desktop:~/testcheckout$ ./fossil open bla
pc@pc-desktop:~/testcheckout$ ./fossil add .
pc@pc-desktop:~/testcheckout$ ./fossil test-hash-passwords test-fossil
pc@pc-desktop:~/testcheckout$ ./fossil push
Push to http://localhost:8080
Round-trips: 1 Artifacts sent: 0 received: 0
Error: not authorized to write
Round-trips: 1 Artifacts sent: 0 received: 0
Push finished with 385 bytes sent, 303 bytes received
You are receiving that error because you do not have permissions to modify the remote repository. When you do not supply any credentials, your login name (pc
in this case) is used and the pc
user probably doesn't exist in the remote repository (or you'd have received a password prompt).
To make this work, you'll need to create an account on the remote repository and use those credentials while doing fossil push
.