Welcome to the most active Linux Forum on the web.
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 09-29-2005, 02:43 PM   #1
LQ Newbie
Registered: Sep 2005
Location: delhi
Posts: 11

Rep: Reputation: 0
geting problem in extracting tar files

halo friends,

when i am extracting tar.gz files with command tar xvzf, i am getting a message in every file, cannot change file ownership to uid uid no., cannot change file ownership to gid gidno., & one more thing is showing in that, file ownership of this tar file is 0755, when i am trying to change file ownership with chmod to 0777, it is not permiting me to do this. i think problem is with file permissions. this problem is not with a single package, a lot of package i am trying to extract, all having same problem. neither its a problem of linux vesion, bcaz 1st i am getting this problem in version 4, then i installed version 3, but same problem i get there also. plz tell me what to do.

Old 09-29-2005, 03:53 PM   #2
Senior Member
Registered: Oct 2003
Posts: 2,575

Rep: Reputation: 220Reputation: 220Reputation: 220
Tar preserves the file ownership/permissions from the original source of every file in the tar archive. When you extract a tar archive, tar tries to recreate those ownerships/permissions. The message you are getting indicates that tar cannot recreate those file ownerships/permissions in the environment where you are doing the extracting. There could be a lot of reasons for this. Try extracting as root and then changing the permissions/ownership on the extracted files.


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
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 12:02 PM
extracting multiple files with tar -xjvf logicalfuzz Linux - Software 3 11-06-2005 02:21 AM
hey geting problem in extracting tar files in version 4 p_garg Linux - Networking 1 09-29-2005 03:48 PM
After extracting a tar useless? glenn69 Linux - Newbie 6 04-23-2004 10:04 PM
extracting tar.bz2.gz files crank Linux - Newbie 5 04-19-2004 12:33 AM > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 10:34 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