LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-02-2004, 08:30 AM   #1
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Rep: Reputation: 15
permissions on tar backup files


Hi,
I am using cron to make a daily backup of a directory of text files I change quite often. The backup is pushed to a seperate partition on my hard drive that happens to be a fat32 partition. I know there are always issues with permissions when moving stuff back and forth to a fat32 disk. However, the backup runs fine, but when I try to un-tar the files I get some errors that are relating to the permissions issue I think. I was wondering if there is any way to get the errors to go away because the un-tar command completes successfully, its just annoying having all the errors. Here is a list of the errors, etc. Thanks

tar: textfiles/quotes.txt: Cannot utime: Operation not permitted
tar: textfiles/InstalledPrograms.txt: Cannot utime: Operation not permitted
tar: Error exit delayed from previous errors
 
Old 08-02-2004, 10:35 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
After reading the utime man page and some threads from here and the JL forum...........I think the error message is just telling you that the timestamp of those two files can't be changed...........

When you look at the properties of a file you see the date/time it was created and the date/time it was last accessed........I think utime uses some of the files from /proc to update the date/time that files were last accessed...........this is how I understand it.......I might be wrong tho......
maybe someone else has another explanation........???
 
Old 08-02-2004, 07:49 PM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Are you trying to extract them to a fat32 partition, or back where they came from. If you tried to extract them inside a fat32 partition, there are attributes which don't exist with the fat32 filesystem and this causes the error message.
 
Old 08-03-2004, 08:12 AM   #4
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Original Poster
Rep: Reputation: 15
Yes I am trying to extract them while on a FAT32 partition. Is there any way to avoid these errors besides sending them to /dev/null and extracting them on the ext3 partition? Thanks for the help, it is not a real big problem just wondering what was going on.
 
Old 08-03-2004, 11:50 PM   #5
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Looking through the man page, I couldn't find an option to do what you want. If it bugs you, you could create an alias that contains the redirection of stderr to /dev/null.
 
  


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
how to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 08:09 PM
backup files, tar, do i need to make a copy dtra Linux - Software 3 05-10-2005 08:52 PM
restoring /etc files from tar backup hdagelic Linux - General 1 09-24-2003 07:04 AM
backup/verify files with tar hokri Linux - General 0 11-27-2001 06:05 AM


All times are GMT -5. The time now is 08:54 PM.

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