[OpenAFS-devel] solaris 10: chdir("/") after chroot(path) returns ENOENT
   
    Derek Atkins
     
    warlord@MIT.EDU
       
    Tue, 08 Jun 2010 10:36:49 -0400
    
    
  
"Tony D'Amato" <tdamato@odu.edu> writes:
> int main(void)
> {
> chdir(PATH);
> chroot(PATH);
> chdir("/");
> chdir("/pub");
> }
> --end--
>
> I've been scratching my head over this one. Let me know if I can
> provide any traces and/or dumps that can help troubleshoot
> this... Thanks!
What if you chdir("/pub"); chdir("/");  ?
-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available