Chmod - Description
-----------------------------------------------
400 - Protect from anyone a file against accidental overwriting.
500 - Protect yourself from accidentally removing, renaming or moving files from this directory.
600 - A private file only changeable by the user who entered this command.
644 - A publicly readable file that can only be changed by the issuing user.
660 - Users belonging to your group can change this files, others don't have any access to it at all.
700 - Protects a file against any access from other users, while the issuing user still has full access.
755 - directory For files that should be readable and executable by others, but only changeable by the issuing user.
775 - Standard file sharing mode for a group.
777 - World changable - ebverybody can do everything to this file.
I don't see 744 on there. That is one that I see a lot of.
With 777 you mean the visitors still CAN'T change the content right??
With 777 anyone can do anything to the file (delete it, copy it, execute it, modify it, etc.).
Yeah ok, so let's say I have a file hosted on my website with 777, what can a visitor do to that file?
No, not a visitor. It has to be someone that has access to the file system (a registered user that can login via SSH or cpanel/plesk). Unless... your visitors have access to files via a file-browser of some sort.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks