File exists but can't be stat-ed permission denied?