Closed f1nniboy closed 3 years ago
Parsing the output of ls is considered bad practice, use stat to get the file owner and permissions instead.
ls
stat
stat is not posix and our use of ls is OK (we look at unproblematic fields only).
Thanks for the PR.
Parsing the output of
ls
is considered bad practice, usestat
to get the file owner and permissions instead.