Find all files with 777 permissions/ specific user

find ./ -type f -perm 0777


find ./ -type f -user userid



And if you like to find all files without Permission 0777 then just enter a ! before the perm, e.g.

find ./ -type f ! -perm 0777

猜你喜欢

转载自www.cnblogs.com/kakaisgood/p/12193405.html
777