Find files / folders with 777 permissions

If you need to find files / folders that have permissions set to 777 use the following:

Find all files in the system

find / -type f - perm 777

Find all directories in the system

find / -type -d perm 777

Find all files in the vhosts directory

find /var/www/vhosts/ -type -f perm 777

Find all directories in the vhosts directory

find /var/www/vhosts/ -type -d perm 777

Print Friendly, PDF & Email

More Like This


Categories


CentOS Linux Ubuntu / Mint
  • Post a comment