tar

bpmedley at 4321.tv bpmedley at 4321.tv
Tue Jul 10 14:45:52 EDT 2001


On Tue, 10 Jul 2001, dan moylan wrote:

> thanks for looking at my problem.
>
> the problem seems to be that tar restores all the files
> (which being from the cdrom have no write permission)
> and then tries to make the symbolic links, but is prevented
> by the lack of write permission in the various restored
> directories.
>
> if one untars, adds write permission recrusively, and then
> untars again, all is as desired.  an ugly solution.
>
> any easy way around this problem?

Did you try making the 'bin' directory (with correct permissions) before
untaring?  Like in:

    $ mkdir bin
    $ chmod u+w bin
    $ gzip -dc bin.tgz | tar -x

~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-., \|/  (___)  \|/ _,.-=~'`^`
                          Brian Medley         @~./'O o`\.~@
"Knowledge is Power"  bmedley at mediaone.net    /__( \___/ )__\  *PPPFFBT!*
  -- Francis Bacon                               `\__`U_/'
 _,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|'  ^^`'~=-.,__,.-=
~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list