PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] ./fiend /root -depth
Date: Friday, 11 Sep 2020, 09:51:24


    > Message Posted By: Unknown
    >
    > /root is requires permissions to access, so the solution script prints
    > Permission denied. However, it doesn't print /root afterwards, whereas
    > find /root -depth does. Is it important to make sure we still print /root
    > after the error message in this case?

This is not the behavior that I see:

  % /bin/find /root
  /root
  /bin/find: M-bM-^@M-^X/rootM-bM-^@M-^Y: Permission denied
  % /c/cs323/Hwk1/fiend /root
  /root
  fiend: opendir(/root) failed

--Stan-
PREV INDEX NEXT