Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I've recently installed Mandriva on one of my machines and am now trying to get Xampp to work. It installed fine but I cannot seem to copy any files ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    2

    Not allowed to copy files to /opt/lampp/htdocs


    Hello, I've recently installed Mandriva on one of my machines and am now trying to get Xampp to work. It installed fine but I cannot seem to copy any files into the htdocs folder. I'm not quite sure what's wrong but I hope someone here can help me.

    P.s. Sorry If I've posted this in the wrong section, It's 1 am.

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You should be able to do this as root or another option would be to create a new group e.g. web, change ownership of the /opt/lampp/htdocs to the group web and then put yourself into the web group e.g.
    Code:
    #groupadd web
    #chgrp -R web /opt/lampp/htdocs
    #gpasswd -a username web
    The # in the commands above should not be typed it. It just shows that you need to be root.

  3. #3
    Just Joined!
    Join Date
    May 2008
    Posts
    2
    Thanks for your response however, that didn't quite help although, it did lead me to finding about the chmod command which indeed helped me.

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    I'm glad you got it working. I however don't see why that would not help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •