home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6603 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.6 KB

  1. Path: sparky!uunet!cs.utexas.edu!torn!cunews!revcan!software.mitel.com!sharman!sharman
  2. From: sharman@Software.Mitel.COM (Richard Sharman)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Problem compiling the kernel.
  5. Message-ID: <SHARMAN.92Jul23181022@sharman.Software.Mitel.COM>
  6. Date: 23 Jul 92 22:10:22 GMT
  7. Sender: sharman@Software.Mitel.COM
  8. Organization: Mitel. Kanata (Ontario). Canada.
  9. Lines: 29
  10.  
  11. In article <1992Jul21.154453.13339@gmuvax2.gmu.edu> esaffle@gmuvax2.gmu.edu (Ed Saffle) writes:
  12.  
  13.    In article <1992Jul21.124846.2263@rhrk.uni-kl.de> herfert@arctecserv-1.informatik.uni-kl.de (Michael Herfert) writes:
  14.    >I use Linux 0.96c and GCC 2.2.2.
  15.    >Compilation of the kernel is succesfull but when running there come error messages like:
  16.    >  getwd: can not access parent directory
  17.    >Any help ?
  18.  
  19.    This is the same kind of thing that happened when I first tried the linux
  20.    boot & root images after rawrite'ing then to disks...maybe if someone comes
  21.    up with an answer to this one, it would also be valid toward my problem.
  22.  
  23.  
  24. I think this means that that a parent of your home directory is not
  25. searchable.   I *believe* that getwd routines typically "walk up" the
  26. tree from the current directory until they get to the top (the root)
  27. to find out "where they started from" -- i.e. the initial working
  28. directory.  (Typically the kernel does not maintain a printable string
  29. corresponding to every process's current working directory, so they
  30. have to work it out.)
  31.  
  32. So, if, say, your home directory was /home/people/fred
  33. check that /home and /home/people had the "other"'s 'r' and 'x'
  34. permission bits set.
  35.  
  36.  
  37. If the above is inacurrate would someone please let me know?
  38.  
  39. rs
  40.