403 forbidden for files in the public dir #254

Open
opened 2020-09-09 04:59:10 -04:00 by ioistired · 4 comments
ioistired commented 2020-09-09 04:59:10 -04:00 (Migrated from github.com)
Nim Compiler Version 0.19.4 [Linux: amd64]
Compiled at 2019-03-05
Copyright (c) 2006-2018 by Andreas Rumpf

active boot switches: -d:release
DEBUG GET /favicon.ico
DEBUG   403 Forbidden {"content-type": @["text/html;charset=utf-8"]}

public/ is owned by the user running nitter. I'm on commit 2c6cabb4ab.

``` Nim Compiler Version 0.19.4 [Linux: amd64] Compiled at 2019-03-05 Copyright (c) 2006-2018 by Andreas Rumpf active boot switches: -d:release ``` ``` DEBUG GET /favicon.ico DEBUG 403 Forbidden {"content-type": @["text/html;charset=utf-8"]} ``` public/ is owned by the user running nitter. I'm on commit 2c6cabb4abe79166ce9973d8652fb213c1b0c5a2.
zedeus commented 2020-09-09 06:24:42 -04:00 (Migrated from github.com)

Maybe the 'other' group is missing read permission?

Maybe the 'other' group is missing read permission?
ioistired commented 2020-09-09 06:44:15 -04:00 (Migrated from github.com)

Ok that fixed it but why is that necessary?

Ok that fixed it but why is that necessary?
zedeus commented 2020-09-09 06:48:54 -04:00 (Migrated from github.com)

It's a constraint set by the web server I'm using for nitter, it requires files to be readable by others before serving them publicly

It's a constraint set by the web server I'm using for nitter, it requires files to be readable by others before serving them publicly
ioistired commented 2020-09-09 06:49:30 -04:00 (Migrated from github.com)

This should be in the README.

This should be in the README.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
PAS/nitter#254
No description provided.