LinuxQuestions.org
Visit Jeremy's Blog.
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, 09: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, 11:35 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
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, 08:49 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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, 09: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-04-2004, 12:50 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:51 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration