By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,761 Members | 956 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,761 IT Pros & Developers. It's quick & easy.

tar archiver and file mods

P: 18
I have tons of files on my desktop computer (results of numerical simulations), and I need to make backup for later postprocessing and to free my disk so i can continue running simulations on that comp.

I tried "tar -cf archive.tar file1 file2" logged in as a common user within that same user's directory.

when i burned the archive.tar on a DVD, i tried to unpack it on my laptop (both computers are running SUSE linux - desktop 10.2 - 32bit, laptop 10.3 - 64bit).

it went ok, but when i tried editing some files, there was a warning that the files were all read-only.

i used "ls -l" on that directory and saw that the mod was read only. i can't chmod u+w on every file or directory because there are hudreds of them. what can i do? Thanx in advance. :)
Feb 13 '08 #1
Share this Question
Share on Google+
2 Replies

numberwhun
Expert Mod 2.5K+
P: 3,503
I have tons of files on my desktop computer (results of numerical simulations), and I need to make backup for later postprocessing and to free my disk so i can continue running simulations on that comp.

I tried "tar -cf archive.tar file1 file2" logged in as a common user within that same user's directory.

when i burned the archive.tar on a DVD, i tried to unpack it on my laptop (both computers are running SUSE linux - desktop 10.2 - 32bit, laptop 10.3 - 64bit).

it went ok, but when i tried editing some files, there was a warning that the files were all read-only.

i used "ls -l" on that directory and saw that the mod was read only. i can't chmod u+w on every file or directory because there are hudreds of them. what can i do? Thanx in advance. :)
Well, you could do the following:

Expand|Select|Wrap|Line Numbers
  1. chmod -R u+w *
  2.  
That will do it recursively.

Regards,

Jeff
Feb 13 '08 #2

P: 18
Well, you could do the following:

Expand|Select|Wrap|Line Numbers
  1. chmod -R u+w *
  2.  
That will do it recursively.

Regards,

Jeff
Thank You, tried it and it worked.
Feb 15 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.