fix: improve checking file permission
fix: improve checking file permission

It is happen EPERM when node_modules is owned by `root` and webpack-cli is executed by user excepted `root`.

It should check file and process owner.

webpack/webpack-cli,webpack/webpack-cli,webpack/webpack-cli