RobyRu62 wrote:now I've to change permissions folder by folder...
This is one (of many) advantages of Linux over Windows. There are powerfull commands doing everything you need. In your case you can do this:
- Code: Select all
sudo find /opt/lampp/htdocs -type d -exec chmod 0777 {} \;
Enter that command in a terminal (copy & paste!), it changes htdocs and each subfolder to "full permission" for everybody. That should be sufficient already. Keep in mind you have to apply your password when using "sudo".
Finally, if you want, you may change User and Group setting of Apache in httpd.conf to fit your needs. Lets say you are logged in as User "Roby" and Group "Roby", you may change httpd.conf from Xampp: search for User and Group setting and change it to:
- Code: Select all
...
User Roby
Group Roby
...
At next, change ownership of htdocs and subsequent folders to your own UserId and Group. As you would like to change ALL files (not only folders) in htdocs, its getting easier now. Use this command to change ownership of all folders and files beyond htdocs (including htdocs):
- Code: Select all
sudo chown -R Roby:Roby /opt/lampp/htdocs
After this, all folders and files from htdocs are yours. Finally start Apache and it will run with your UserID and Group. From now you simply can create new files and folders without any problems in htdocs and use it for Apache. Replace "Roby:Roby" if necessary by your true User/Group setting.
Now you can install Drupal and whatever you want. Simply create new subfolder in htdocs (like "drupal") and put the installation files into. Finally start installation via
http://localhost/drupal/install.php or similar (i dont know Drupal installation) in your browser.