Question about chmod 777 vs 744 for images

Ok quick question I am new to linode so I'm sorry if this is a dumb question.

Anyways I chmodded my php/html files with 744 after I uploaded them to make them viewable to the world. But… the images in the /images folder weren't viewable/didn't have permission even after I 744'd them.

When I 777 them the images are viewable… but I'm pretty sure I don't want to leave any chmod 777's open on my server?

So I guess my question is what kind of permissions do you guys use for image files?

2 Replies

Images should work fine on a 644 did you change the folder the images were in t 744 that will cause failure since directories need to have the execution bit so 755 would be advisable for the folder.


Things are working now :)


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct