LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-11-2017, 05:06 PM   #1
ComputerCritic
Member
 
Registered: Mar 2017
Posts: 43

Rep: Reputation: Disabled
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?
 
Old 03-11-2017, 06:38 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
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.
 
Old 03-11-2017, 10:26 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,895
Blog Entries: 27

Rep: Reputation: 4672Reputation: 4672Reputation: 4672Reputation: 4672Reputation: 4672Reputation: 4672Reputation: 4672Reputation: 4672Reputation: 4672Reputation: 4672Reputation: 4672
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Extracting archives containing long filenames iamspartacus Linux - Software 2 10-08-2014 12:57 AM
[SOLVED] Need a program for extracting Ace archives frank81 Linux - Software 5 05-07-2012 12:59 PM
[SOLVED] extracting and then deleting archives? GrumpySnail Linux - Newbie 4 04-24-2011 04:46 PM
extracting files from RAR archives corbis_demon Linux - Newbie 3 03-30-2005 06:25 AM
Self-extracting Archives for Windows? Trey395 Linux - Software 11 02-20-2004 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration