Write permissions

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

Write permissions

Postby erelsgl » 17. September 2007 09:43

Whenever I restart my computer and try to run some PHP script on the localhost, I get error messages saying that the script cannot write to a certain file/directory.

I solve the problem by:

su - root
chmod -R a+w /home/user/www

However, I have to do this again after I restart my computer...

Is there a better solution?
What am I missing?
Posts: 7
Joined: 03. December 2006 10:00

Postby slowyaroll » 09. October 2007 15:47

I take it that /home/user/www is just an example, right?

Nevertheless, have you tried this
Code: Select all
chown -vR nobody:root /home/user/www
chmod -vR 755 /home/user/www
I wondered why the frisbee got bigger and bigger. . .then it hit me
Posts: 20
Joined: 11. April 2007 07:23
Location: Atlanta, Georgia [US]

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 8 guests