#7684 403 errors on fedorapeople.org
Closed: Fixed 6 months ago by kevin. Opened 6 months ago by jibecfed.


my static blog is hosted there: https://jibecfed.fedorapeople.org/blog-hugo/fr/
but javascript files gets 403 errors:


URL de la requête :https://jibecfed.fedorapeople.org/blog-hugo/js/slim.js
Méthode de la requête :GET
Adresse distante :
Code d’état :
Version :HTTP/1.1
Politique de référent :no-referrer-when-downgrade

When I connect with ssh, the file is there:

[jibecfed@people02 js][PROD]$ pwd
[jibecfed@people02 js][PROD]$ ls -lah
total 44K
drwx------. 2 jibecfed jibecfed 43 11 juil. 2017 .
drwxrwxr-x. 12 jibecfed jibecfed 4,0K 4 oct. 17:32 ..
-rw-rw-r--. 1 jibecfed jibecfed 36K 11 juil. 2017 highlight.min.js
-rw-rw-r--. 1 jibecfed jibecfed 120 11 juil. 2017 slim.js

I don't remember any similar issues in the past, did something change or did I do something wrong?

Thanks a lot for your help!

The problem is permissions. The web server runs as the 'nobody' user, so anything it serves needs to be readable.

So: chmod 755 js css

should fix it.


Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

6 months ago

it works thank you :)
have been following the same process for several months now, I assume something changed, but whatever, it works :sparkles:

Login to comment on this ticket.