Here some hints for lab 7. Actually, they're really about lab 5, which could have been better documented and shipped with a better test suite (in general, it's hard or impossible to provide a set of tests that proves an implementation correct, but in this case, there was room for improvement; sorry about that). Errors in lab 5 would affect the shell because the shell obviously needs to gain access to the file system. So here are a few things that should have been emphasized in lab 5: