Fossil Forum

[BUG] Bummer. You do not have permission to download. Maybe it would work better if you logged in.
Login

[BUG] Bummer. You do not have permission to download. Maybe it would work better if you logged in.

[BUG] Bummer. You do not have permission to download. Maybe it would work better if you logged in.

(1) By yds on 2018-12-16 16:16:25

with a private repo and this cgi setup:

    #!/usr/bin/env fossil
    repolist
    directory: /var/www/repo
    notfound: /repo/

the following message shows up when one navigates to the /download page:

> Bummer. You do not have permission to download. Maybe it would work better if you _logged in_.

The **BUG** is that clicking on the _logged in_ link takes you to /repo/login when it should be taking you /repo/project/login if you start from /repo/project/download

Perhaps there's a bug somewhere around [src/clone.c](https://fossil-scm.org/fossil/artifact/6bb6ebd10284ab2f?ln=319) when the cgi does **repolist** handling??

The [LOGIN] button in the top right does have the correct login link on the same page, BTW.

(2) By Florian Balmer (florian.balmer) on 2018-12-29 06:54:08 in reply to 1 [link]

I've committed a fix for this, ready to be merged:

<https://www.fossil-scm.org/index.html/timeline?r=fix-login-links>

(3) By yds on 2019-01-02 15:03:15 in reply to 2 [link]

Thank you!