better to use lstat for inode