in reply to Re^2: Why does File::Find try to chdir to $PWD (and fail) even if $PWD is not itself in search list?
in thread Why does File::Find try to chdir to $PWD (and fail) even if $PWD is not itself in search list?

The root directory will tend to be readable by all users by default anyway. A directory that's by default world-readable is the ideal place to not have permission errors upon reading.

Many daemon programs actually change directory to '/' as one of the first things they do. Some others are written to have a specific directory set up just for a chroot jail.

  • Comment on Re^3: Why does File::Find try to chdir to $PWD (and fail) even if $PWD is not itself in search list?