The 2 in front of 775 causes the group who is the owner of /var/www to be copied to all new files/folders created in that directory There are also other options then 2 0 setuid, setgid, sticky bits are unset 1 sticky bit is in place 2 setgid bit is in place 3 setgid and sticky bits are in place 4 setuid bit is in place 5 setuid and I'm enjoying my very first taste of Drupal, trying out my brandnew installation After some searching (and swearing) I found that the reason I couldn't upload files was that I needed to create a files/ directory and give it the right permissions Now, I find that with permission 777, everything works fine With 755 (or 775) I get the message The directory files is not In order to set a folder to grant default permissions to subfolders, you will need to do the following chmod gs This sets the group ID for the directory Then, you can set your group to rwx by default with this command setfacl d m grwx / Finally, to set all other users with the same permiss...