Skip to main content
The Brain OfTed
Search form
Search
Neuron Tags
annoying
apt
command line
drupal
drupal 6
drupal 7
drupal 8
install
linux
php
security
snippet
ssh
ubuntu
windows
More
User login
Username
*
Password
*
Request new password
find
Using find to fix permissions
30/05/2021 -
Ted
Locate a file or directory without world readable permission
find . -type f ! -perm -o=r
find . -type d ! -perm -o=r
Fix the problem
find . -type f ! -perm -o=r -exec chmod o+r {} \;
find . -type d ! -perm -o=r -exec chmod o+rx {} \;
Read more
about Using find to fix permissions