Your solution worked, you were correct it was a permissions issue. Keep in mind I have no clue what I'm doing in Linux, but I'll list the steps and my understanding of what each step does for other users:
I created a sub directory in "/var/www/" lets call it "NewFolder" so its path is "/var/www/NewFolder"
I changed the ownership of "NewFolder" to the www-data user in the www-data group (I think...) using the following command:
chown -R www-data:www-data /var/www/NewFolder
From what I understand this command is read:
chown = Change Onwer
-R = Recursively, or to all files and folders within the directory
www-data = for the user "www-data"
:www-data = in the group "www-data"
/var/www/NewFolder = for the directory "/var/www/NewFolder"
I think that's how you read the command, regardless, once I did this I was creating files left and right all over my server. Thanks again Jeremy!
SOLUTION:
Your solution worked, you were correct it was a permissions issue. Keep in mind I have no clue what I'm doing in Linux, but I'll list the steps and my understanding of what each step does for other users:
From what I understand this command is read:
I think that's how you read the command, regardless, once I did this I was creating files left and right all over my server. Thanks again Jeremy!