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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-02-2004, 09:30 AM
|
#1
|
Member
Registered: May 2003
Distribution: redhat 9.0
Posts: 113
Rep:
|
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
|
|
|
08-02-2004, 11:35 AM
|
#2
|
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577
Rep:
|
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........???
|
|
|
08-02-2004, 08:49 PM
|
#3
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
08-03-2004, 09:12 AM
|
#4
|
Member
Registered: May 2003
Distribution: redhat 9.0
Posts: 113
Original Poster
Rep:
|
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.
|
|
|
08-04-2004, 12:50 AM
|
#5
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
All times are GMT -5. The time now is 11:51 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|