LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   tar problem.. (https://www.linuxquestions.org/questions/linux-newbie-8/tar-problem-516897/)

praveen_2003 01-06-2007 10:05 AM

tar problem..
 
I am using FC6.. when ever i extract an file using “ tar -xvf filename” i get
“ Cannot change ownership to uid 1000,gid 100: Operation not permitted” beside each file inside the archive... wat does it mean?? but all the files are extracted without any problem..

raskin 01-06-2007 10:35 AM

Are you root? Are you doing it on FAT partition?

praveen_2003 01-06-2007 10:37 AM

yeah i login as root... yeah i am doing it on a fat partition....

raskin 01-06-2007 11:16 AM

Congratulations, ignore this warning. When tar unpacks an archive, it tries to make result as exactly identical to original files as possible. If you are root, it can (on some filesystems) even change file owner to whomever is mentioned in archive. And it tries to do it... But here a problem arises: FAT does not know anything about ownership and permissions. So FAT driver says 'operation not permitted' and tar has just to report this. Especially in verbose mode, where it reports everything significant. But writing data to file does not cause any problems, so archive is unpacked OK.


All times are GMT -5. The time now is 10:09 AM.