I looked into the find command and came up with
find . -maxdepth 1 -perm 521 > test.txt to output the permissions to a text file, but is it possible to do it just using, for example, simple commands like
ls? As far as I know,
ls can't seem to reference permissions specifically so I can't give it a certain permission set to look for.
Is there any other straightforward method I may be overlooking?