Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-2703

Wrong permission check when commit performed on locked file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.4.x
    • ---
    • svnserve
    • None

    Description

      When performing commit against svnserve for file which being locked (and
      
      have svn:needs-lock), and user have write access only to affected
      
      directory (not repository root), commit is failed with:
      
      svn: Commit failed (details follow):
      
      svn: Authorization failed
      
      
      If lock removed before commit, everything is fine.
      
      
      Following setup allows to reproduce the issue:
      
      authz:
      [groups]
      
      g0=yosi
      
      g1=moshe
      
      
      [/]
      
      *=r
      
      
      [/trunk/dir0]
      
      @g0=rw
      
      
      [/trunk/dir1]
      
      @g1=rw
      
      
      When user "yosi" commits in dir0, error is happen.
      

      Original issue reported by lfroen

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              subversion-importer Subversion Importer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: