catch Errno::EACCES also