tar archiver and file mods

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • everlast
    New Member
    • Nov 2007
    • 18

    tar archiver and file mods

    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. :)
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    Originally posted by everlast
    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:

    Code:
    chmod -R u+w *
    That will do it recursively.

    Regards,

    Jeff

    Comment

    • everlast
      New Member
      • Nov 2007
      • 18

      #3
      Originally posted by numberwhun
      Well, you could do the following:

      Code:
      chmod -R u+w *
      That will do it recursively.

      Regards,

      Jeff
      Thank You, tried it and it worked.

      Comment

      Working...