Topic on Project:Support desk

Images only appear when folder permissions set to 777

3
Summary by Jonathan3

"Either use bits to 7 or 5 but not 4"

AesopHimself (talkcontribs)

Images upload just fine and everything appears, but only when set to 777.

If I set it to 774, nothing.


Obviously I don't want to keep it at 777, but it seems to be the only thing that works to show them.

Changing the owner to www-data works, but it still has to be at 777 or else the thumbnail breaks and accessing the image throws Forbidden.


Any ideas?

Jonathan3 (talkcontribs)
Ciencia Al Poder (talkcontribs)

Directories must be executable, otherwise they can't be accessed. Either use bits to 7 or 5 but not 4 unless you explicitly want users to not access them