Ticket Change Details
Not logged in
Overview

Artifact ID: cdaa4654354d2c07ed4546e4b8b7dff72caec12f
Ticket: 9ce0321b54eb5c8e8fc782f2afb55302685c42c5
fossil push - server says: not authorized to write
User & Date: anonymous 2009-05-22 08:05:11
Changes

  1. comment changed to:
    Whenever I want to sync or push from a local repository to the 'main' repository, I get this answer and fossil bails out. I checked the users on the local and remote repositories and they are the same. Tried to look for this in the documentation and tickets but could not find anything. 
    How can I resolve this ?
    
    Thx,
    Wim
    
    <hr><i>anonymous added on 2009-05-09 15:33:57:</i><br>
    I found out by browsing the database where my problem was. Although you update your user info (specifically passwords), the last-sync-url does not get updated. Updating this variable with the reset password settles the problem. Is there a way to update the last-sync-url from the command line ? 
    
    <hr><i>drh added on 2009-05-09 19:15:22:</i><br>
    The last-sync-url is updated automatically when you do a push, pull, or sync
    that specifies an explicit url.  Example:
    
        fossil pull http://USER:PASSWORD@www.mysite.net/project1
    
    The command above will store the "http://USER:PASSWORD@www.mysite.net/project1"
    in the last-sync-url variable.  Note also that the USER:PASSWORD, is stored
    but never displayed.
    
  2. status changed to: "Closed"