find . -maxdepth 1 -perm /222
The /222 means any of the bits set here are set in the permissions of the file. If I only care if it is writable by the owner, I would pass /200 as the argument.
find . -maxdepth 1 -perm /222
The /222 means any of the bits set here are set in the permissions of the file. If I only care if it is writable by the owner, I would pass /200 as the argument.