•  
      request #28862 Enable to access a file .htmlhintrc under SVN
    Infos
    #28862
    Aurélien Tisné (atisne)
    2022-09-26 14:33
    2022-09-26 14:28
    30423
    Details
    Enable to access a file .htmlhintrc under SVN

    Tuleap refuses the access to a file named .htmlhintrc in my subversion repository

    svn co https://my.tuleap.org/svnplugin/myproject/myrepo/my/path/.htmlhintrc
    svn: E170013: Unable to connect to a repository at URL 'https://my.tuleap.org/svnplugin/myproject/myrepo/my/path/.htmlhintrc'
    svn: E175013: Access to '/svnplugin/DataGovernance/Airbus/trunk/MasterData/Expertise/Model_Editor/.htmlhintrc' forbidden
    

    It was ok some times ago. I recently move from version 13.7 to 13.11.

    Steps to reproduce:

    • create a new SVN repository (or use existing one) on a Tuleap project
    • checkout the repository
    • cd into the repository
    • echo "file to test" > .htmlhintrc
    • svn add .htmlhintrc
    • svn ci -m "Test svn permission issue" -> svn: E175013 error
    SCM/Subversion
    13.11
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Declined
    2022-09-26
    Attachments
    Empty
    References

    Follow-ups

    User avatar

    Replacing

    location ~ /\.ht {
        deny all;
        return 403;
    }
    

    by

    location /\.htaccess {
        deny all;
        return 403;
    }
    location /\.htpasswd {
        deny all;
        return 403;
    }
    

    workarounds the issue.