LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Extracting archives to location (https://www.linuxquestions.org/questions/linux-newbie-8/extracting-archives-to-location-4175601561/)

ComputerCritic 03-11-2017 04:06 PM

Extracting archives to location
 
I am using OpenSUSE. I tried to extract an archive to a root folder "/usr/local" or "/var/run" and got the error message "Could not write to destination <destination name>.
Check whether you have sufficient permissions." Does Ark have an identity of its own or does it use my identity?
Why doesn't it just prompt for root password?

hydrurga 03-11-2017 05:38 PM

Hi ComputerCritic, and welcome to LQ.

You will need to run ark as root to extract the archive to those locations, because you don't have the permission to do so as a non-root user.

On OpenSuse, if you're running KDE, do that by kdesu ark. Otherwise, gnomesu ark.

frankbell 03-11-2017 09:26 PM

It generally would not be wise to extract a compressed archive directly to those locations; you may experience unintended consequences.

Just for curiosity, which kind of package are you trying to extract to those locations?


All times are GMT -5. The time now is 03:32 PM.