View Full Version : [ubuntu] permissions
May 3rd, 2010, 04:34 PM
I'm a new Ubuntu user. I'm trying to move a file to opt folder. But I cant do it because I dont have the permission to do it. In folder preferences it says " you are not the owner"
How can I move a file to opt folder? or How can I change the folder permission settings?
May 3rd, 2010, 04:36 PM
Take a look...
May 3rd, 2010, 04:40 PM
Open a terminal and type
You can copy it then.
Some old linux tutorials ask you to copy things to /opt when you don`t really need to.
What are you trying to achieve?
May 3rd, 2010, 04:40 PM
looks like i was a lil slow while typing...
If you want to move the things using file browser(nautilus), you should be able to do it using
gksudo nautilus and put in the password and and you are golden. Beware though - be sure not to do something unless you are absolutely sure of it like deleting or moving a file or renaming unless you know you are not breaking anything that belongs to some other application or something
if u are using the terminal to copy then
sudo cp pathtofile destinationpath
May 3rd, 2010, 04:58 PM
i was trying to install xampp. The manuel that i'm following says this
"Extract the downloaded archive file to /opt: tar xvfz xampp-linux-1.7.3a.tar.gz -C /opt"
and my downloaded file is on my desktop, and i couldnt write the necesssary folder instead of /opt. So i decided to move to file to /opt.
Now i moved it thanks to you but still i get the same error
and that error is;
tar: xampp-linux-1.7.3a.tar.gz: open imposibble: No such file or directory
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
how can i do this?
May 3rd, 2010, 05:01 PM
Can you post a link to the instructions you are following?
May 3rd, 2010, 05:04 PM
May 3rd, 2010, 06:46 PM
I`ve been trying to test this for you, but unfortunately I have a 64bit machine and llamp only supports 32bit atm.
As far as I can tell, you didn`t need to copy it to /opt
But since you have .....
....btw - did you choose to open it with "archive manager" instead of saving it to disk? - if that is the case you will have a folder called lampp rather than a tar.gz.
If this is the case, and you have moved it to /opt, try
sudo chmod +x /opt/lampp/lampp
sudo /opt/lampp/lampp start
If it is still a tar.gz, extract it first, then try again.
Oh, and it looks like it has a shed load of dependencies, but maybe not.
May 3rd, 2010, 06:57 PM
Can you not just use tasksel (sudo tasksel) to install LAMP?
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.