User web dir permission (in ftp)

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

User web dir permission (in ftp)

Postby lukasamd » 29. October 2010 17:46

I use xampp (lampp) in Linux Debian.
Everyting is ok when I use root password, but I'ld like to add another.

I add directory "myweb" in lampp directory.
I add user "myweb" in group "myweb" - home directory is opt/lampp/myweb
I add vhost for myweb domain and uncomment line for vhosts in httpd.conf - it's working great
Now, I change myweb directory owner by command:

Code: Select all
chown -R myweb:myweb opt/lampp/myweb

and change persimmions for this directory:

Code: Select all
chmod -R 770 opt/lampp/myweb 

In effect:
- I can upload files by ftp and php scripts
- I can read files by ftp and php scripts
- I can't overwrite files in this directory:

[R] 550 test.html: Overwrite permission denied

What do I do wrong?
User avatar
Posts: 4
Joined: 29. October 2010 17:39

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 9 guests