No permission to write to htdocs/

Problems with the Linux version of XAMPP, questions, comments, and anything related.

No permission to write to htdocs/

Postby davegod75 » 20. May 2007 22:06

I do not know why this is happening but after fresh install I have no access to write to htdocs/. So this means I can copy over my webfiles. I tried creating a directory under htdocs/ as root. When I try to write to that directory I have no permission.

using xampp can't be this hard.

How do I solve this problem so I can be up and running.

Thanks
davegod75
 
Posts: 1
Joined: 20. May 2007 22:03

Postby pronto » 20. May 2007 23:12

Try chmodding your /opt/lampp folder into 755 with this functions in terminal.
chmod -R [permissions] [dir name]

that would be something like this:
chmod -R 755 /opt/lampp


Hey Dave look me up at Ubuntuforums I'm jingo811. I'm also learning about Apache+MySQL+PHP= thus XAMPP. Maybe if we gang up we can start a XAMPP forum folder over there so responses can be much quicker than in here.

You can read more about the security issues when mismanaging your chmodding in this thread. But then Windows always has file permission of 777 that's why things work so easy, and that's why Windows is such a virus prone OS.
http://ubuntuforums.org/showthread.php?t=426623

PS.
Don't expect much conversations from me over there I've been so busy learning to code PHP I haven't had time to visit the forums for a week which is very unusual for my standards :)
pronto
 
Posts: 5
Joined: 22. April 2007 09:23


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 2 guests