So, I'm trying to give a folder within var/www/GamePanelX full permissions so that anyone can access the folder via
http://IP.address/GamePanelX
I've tried:
Code:
eric@eric-desktop:~$ sudo -i
[sudo] password for eric:
root@eric-desktop:~# chmod a+rwx /var/www/GamePanelX
root@eric-desktop:~# chmod a+rwx /var/www/GamePanelX
root@eric-desktop:~# sudo nautilus
root@eric-desktop:~# chmod 777 /var/www/GamePanelX
root@eric-desktop:~#
So, that didn't work, as it returns the following message when I try to access it via localhost through Firefox:
Code:
Access denied for user 'www-data'@'localhost' (using password: NO)
I also tried editing the permissions using the gui by typing in sudo nautilus.
I write-clicked on the folder, went to the Permissions tab, and set the following:
Code:
Owner: www-data
Folder Access: Create and Delete Files
File Access: Read and Write
Group: www-data
Folder Access: Create and Delete Files
File Access: Read and Write
Others:
Folder Access: Create and Delete Files
File Access: Read and Write
Execute: YES
I then clicked on Apply Permissions to Enclosed Files. Tried accessing it again at
http://localhost/GamePanelX
Didn't work.
How is anyone supposed to access this folder?