Re: su: Permission denied, (Ignored)

From: martin f krafft (madduck_at_debian.org)
Date: 11/26/04

  • Next message: Maurits van Rees: "Re: combining mp3s"
    Date: Fri, 26 Nov 2004 23:33:06 +0100
    To: Ben Hutchings <ben.hutchings@businesswebsoftware.com>
    
    
    

    also sprach Ben Hutchings <ben.hutchings@businesswebsoftware.com> [2004.11.23.1442 +0100]:
    > >stat64("/root", {st_mode=S_IFDIR|0700, st_size=116, ...}) = 0
    > >stat64(".", 0xbffffa00) = -1 EACCES (Permission denied)
    > >brk(0) = 0x80ec000
    > >brk(0x80ee000) = 0x80ee000
    > >getcwd("/root", 4096) = 6
    > >getpid() = 15728
    > >getppid() = 15727
    > >stat64(".", 0xbffffa30) = -1 EACCES (Permission denied)
    > <snip>
    > >The failing call seems to be a stat of the CWD, which is /tmp,
    > <snip>
    >
    > The cwd here is /root (though I don't see why) and collector presumably
    > doesn't have execute permission on /root so it can't even look up ".".

    Yeah, this makes sense. But why is the cwd root? How can this
    happen?

    -- 
    Please do not send copies of list mail to me; I read the list!
     
     .''`.     martin f. krafft <madduck@debian.org>
    : :'  :    proud Debian developer, admin, user, and author
    `. `'`
      `-  Debian - when you have better things to do than fixing a system
     
    Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Maurits van Rees: "Re: combining mp3s"

    Relevant Pages

    • Re: xen, raid and initramfs failure
      ... one uses the level= option in mdadm.conf that the 'raid' is not ... in mdadm.conf as a way to determine the required modules for the ... Please do not send copies of list mail to me; ... ::': proud Debian developer, author, administrator, and user ...
      (Debian-User)
    • Re: Announcing a new book: The Debian System -- Concepts and Techniques
      ... Don't worry, we did. ... as well as other parts of the globe. ... Please do not send copies of list mail to me; ... ::': proud Debian developer, admin, user, and author ...
      (Debian-User)
    • Re: Nvidia Kernel Drivers ( Sarge )
      ... They are well-made and you can compile drivers with one command: ... Please do not send copies of list mail to me; ... ::': proud Debian developer, admin, user, and author ...
      (Debian-User)
    • Re: unicode troubÃle
      ... > mutt on the other hand replaces every special character with a dotted ... Please do not send copies of list mail to me; ... ::': proud Debian developer, admin, user, and author ... a spade should be compelled to use one. ...
      (Debian-User)
    • Re: sarge freezes after failure of raid disk, incurring fs corruption on unrelated disk
      ... at that, so the broken disk somehow blocks the IDE channel for hdb, ... which is the same for hda, and then the system dies because it ... Please do not send copies of list mail to me; ... ::': proud Debian developer, author, administrator, and user ...
      (Debian-User)