This is how permissions are defined in Linux:
If I put them horizontally, they would read as:
755:
----
7 = Read [ 1 ] + Write [ 2 ] + Exe [ 4 ] for the owner/user.
5 = Read [ 1 ] + Exe [ 4 ] for the group.
5 = Read [ 1 ] + Exe [ 4 ] for the World/Other.
777:
----
7 = Read [ 1 ] + Write [ 2 ] + Exe [ 4 ] for the owner/user.
7 = Read [ 1 ] + Write [ 2 ] + Exe [ 4 ] for the group.
7 = Read [ 1 ] + Write [ 2 ] + Exe [ 4 ] for the World/Other.
Since PHP runs as others it will require 777 permissions to be able to write in to a folder.
|