Find the answer to your Linux question:
Results 1 to 1 of 1
idronei~/work/sed$ sudo tar xzf /usr/src/distfiles/sed_4.1.5.tar.gz [sudo] password for idronei: tar: /usr/src/distfiles/sed_4.1.5.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 ...
  1. #1
    Just Joined!
    Join Date
    Jun 2004
    Posts
    4

    [SOLVED] Can't tar to /usr/src r-s I think it that's s that got me

    idronei~/work/sed$ sudo tar xzf /usr/src/distfiles/sed_4.1.5.tar.gz
    [sudo] password for idronei:
    tar: /usr/src/distfiles/sed_4.1.5.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    idronei~/work/sed$

    I think this isn't working because
    drwxr-sr-x 2 root src /usr/src/distfiles has that group r-s setting
    I have seen s=socket s=setuid
    I tried to make idronei become a member of the group src but src was not an option listed.

    I tried removing the tar f first then the z leaving only the x=extract. Actually the sudo above used only the x flag.

    If you think I should know what Iam doing because of what Iam trying to do, you're right. However, Iam following a tutorial to learn bash. An Iam stuck on the last part 3.
    source: Bash by example, Part 3 by Daniel Robbins . Level: Intermediate. I guess this means Iam not intermediate yet.

    Thanks in advance to any and all who answer this one for me.
    Last edited by iDRONEI; 07-29-2008 at 02:52 AM. Reason: correction to link

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...