developer's diary

最近はc#のエントリが多いです

権限の無いファイルをさがす

ユーザに読み込み権限の無いファイルを探す

find / \( ! -perm -u+r \) -type f

グループに読み込み権限が無いファイルを探す

find / \( ! -perm -g+r \) -type f

ユーザに書き込み権限が無いファイルを探す

find / \( ! -perm -u+w \) -type f