- In the linux terminal navigate to your lampp directory.
cd /opt/lampp
- In the command line type:
sudo chmod 777 -R htdocs
The problem should be solved.
1st Edit:
What you just did was:
You navigated to the directory containing the protected directory. Your problem was that it was a folder that was access protected by your system. When you commanded chmod 777 -R htdocs, what you did was set the permissions for everyone on your computer to read/write/execute - allowed.
Now, you know what each digit means. It says who the number is about. Now each number from 0-7 sets a permission level. I will simply provide you a link for that.
I forgot to add why there is a '-R'. '-R' makes the command recursive and will affect htdocs as well as all subdirectories of htdocs and all subdirectories of those etc.
0 comments:
Post a Comment