LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 04: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, 05:38 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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, 09: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: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
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



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-07-2014 11:57 PM
[SOLVED] Need a program for extracting Ace archives frank81 Linux - Software 5 05-07-2012 11:59 AM
[SOLVED] extracting and then deleting archives? GrumpySnail Linux - Newbie 4 04-24-2011 03:46 PM
extracting files from RAR archives corbis_demon Linux - Newbie 3 03-30-2005 05:25 AM
Self-extracting Archives for Windows? Trey395 Linux - Software 11 02-20-2004 09:50 AM

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

All times are GMT -5. The time now is 07:11 AM.

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
Open Source Consulting | Domain Registration