LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 09-29-2005, 01:43 PM   #1
p_garg
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.

parveen
 
Old 09-29-2005, 02:53 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,310

Rep: Reputation: 139Reputation: 139
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.
 
  


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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration