10.10: Permission problem

Asked by peter

Hello

I would install XAMPP but it failed. I got the message

peter@peter:~$ tar xvfz '/home/peter/OwnData/TempStorage/xampp-linux-1.7.3a.tar.gz' -C /opt
lampp/
tar: lampp: Cannot mkdir: Permission denied

What can I do to get back the permission? Thanks in advance.
Peter

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
peter
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

sudo mkdir /opt/lampp; sudo tar xvfz '/home/peter/OwnData/TempStorage/xampp-linux-1.7.3a.tar.gz' -C /opt
lampp/

Should do it, your use doesn't have write access to /opt so the command filed. If you want LAMP there is a metapackage in the repos for it.

Revision history for this message
peter (peter-neuweiler) said :
#2

Thanks actionparsnip. But I have to start XAMPP as root. How can I do this? Thanks.
Peter

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

If you just run:

sudo tasksel install lamp-server

It will install LAMP for you....

I suggest you read this:
https://help.ubuntu.com/community/ApacheMySQLPHP

Revision history for this message
peter (peter-neuweiler) said :
#4

Thanks actionparsnip. XAMPP is running. Thanks!
Peter