Fix Issue with permissions for files.

Posted July 19, 2017 1.7k views
NginxLinux CommandsUbuntu 16.04

I’ve messed up during fixing a prior issue, I have a site that could serve images and some static files are still serving okay actually. Now as you can see most images aren’t available.

Need some assistance in fixing this.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @muirurisamuel

You can set the files to be readable globally.

chmod -R ugo+r /path/to/