* Dan Jacobson > The following message is a courtesy copy of an article > that has been posted to comp.unix.shell as well. > > If I do "cat dir/file", why is the access time of dir not changed, as > seen with stat(1) or ls -ul? Only if we do "ls dir" will dir's access > time be changed. Maybe it is on purpose to avoid too much disk > access. In version 7 Unix did they do that too?
Maybe because it isn't read as per policy. I mean, you can have access to the file with only access bit x set on the directory. -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]