LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-09-2014, 03:16 AM   #1
kartoffel
LQ Newbie
 
Registered: Jan 2014
Distribution: Debian 7
Posts: 2

Rep: Reputation: Disabled
rar extract files with the original owner, permissions etc.


Hello to all of you!

Currently I am trying to use rar in my small backup script and it seems that I am too dumb to add & recover the files with the owners etc.

OS in use: Debian Wheezy 7.6 (installed on a VPS on Ramnode)
Software version: RAR 4.00 beta 3

This is my compression command line (even though I have made simpler tests too):

rar a test2.rar @/home/user/bak.lst -m5 -rr10p -r -t -k

I have tried adding the "ow" switch, but I got error messages (e.g. WARNING: Cannot get /home/user/backtest-original/permission.txt owner and group ).

When I look at the rar files e.g. rar l test2.rar, I can see the permissions,
but the owners are not shown.

When extracting the files, the owner and group of all files is root:root, although it seems that the permissions are ok.

All my tests (compression and extracting) were done with the root user.

Does anyone here uses rar on Linux and can help me out? I would love to use rar for my backup as I am accustomed to it, if I need to switch to tar I need to use it with PAR2 too etc. and I would like to keep it simpler for me.

In any case, thank you very much for your time and help!

Cheers...
 
  


Reply

Tags
extracting, ownership, rar


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
Combine and extract .rar files villumanati Linux - Newbie 2 09-10-2008 03:59 PM
How to extract rar files in fedora core 6 me4linux Linux - Software 3 04-24-2007 03:09 PM
how to extract RAR files in linux mayankh Linux - Software 3 09-15-2006 04:34 AM
How do I extract miltuple rar files? bankrupt Linux - Newbie 2 12-29-2003 04:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:40 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
Open Source Consulting | Domain Registration