This command will search and update the Directory Permissions
=============================================================
find . -type d -user nobody -exec chown archer.archer {} \;
find . -type f -perm 777 -exec chmod 644 {} \;
find . -type f -perm 755 -exec chmod 644 {} \;
Command for search the nobody user
===================================
find . -type f -user nobody -exec chown fdfdfd.fdfdfd {} \;
No comments:
Post a Comment