Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-05-2011, 10:03 PM   #1
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 62
Slackware's 13.37 tar, and how it handles uid/gid pair on create/extract

Hello all

I was wondering if you kind folks could clarify this for me.


When root creates a tarball using -zcvf the above two items are indeed part of the tarball's properties, correct?

I ask this as Slackware's manual page does not mention if they are/not the default. I've been searching online, some pages have show that the --preserve-permissions implies --same-owner, and that the --preserve-permissions option is enabled by default for user root.

Those online manpages are for gnu/tar versions older than Slackware, and hence my lack of clarity on the matter.

The info pages do not mention anything regarding this as well.

Lastly, does Slackware's tar back up 'xattr' info? Does a normal home user desktop/laptop user need worry about that? Isn't xattr info being used by KDE to tag metadata?

Thanks in advance.

Old 12-06-2011, 04:12 AM   #2
Senior Member
Registered: May 2008
Posts: 4,408
Blog Entries: 7

Rep: Reputation: 1860Reputation: 1860Reputation: 1860Reputation: 1860Reputation: 1860Reputation: 1860Reputation: 1860Reputation: 1860Reputation: 1860Reputation: 1860Reputation: 1860
same-owner and preserve-permissions flags apply at extraction time. You don't have to worry about them on the create.
They are both default settings when tar is run by superuser to extract files.

xattrs/acl support is a RedHat vendor extension and isn't included in the stock GNU/tar as shipped by Slackware.

I thought KDE metadata was all being put into that nepomuk/akonadi database, but I'm not an expert, so I may be wrong.

Slackware doesn't use 'SELINUX contexts', 'acls' or 'capabilities' as yet, so you should be fine for now (assuming I'm right about KDE), but it's something to bear in mind for the future as the linux world seems to be going down that road in general. I currently do my daily user home-dir backups using GNU/tar listed-incremental backups, so this is something I'm keeping in mind too.


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
mount with given uid,gid ernst Linux - General 1 09-11-2008 08:04 AM
what is uid and gid rmanocha Linux - Software 9 08-18-2008 11:03 PM
how to do a tar extract | create pipe on the fly? jjalocha Linux - General 5 12-29-2007 08:50 PM
What is my uid/gid? Jeebizz Slackware 2 11-22-2005 11:39 AM
changing uid, gid zeke1955 Linux - General 4 01-09-2004 11:53 PM > Forums > Linux Forums > Linux - Distributions > Slackware

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

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