The reader
Read a listing.
Paste the output of ls -la or stat. Each file comes back as three plain sentences, one per class, with any risk flagged, its reason given and the chmod fix written out. You run nothing here and Modewise runs nothing on your server.
From ls -la, ls -laR, stat, find . -ls or stat -c '%A %U %G %n' *, or just a mode such as 2775. Up to 2,000 files at a time.
Read on this device. This page refuses every outside connection, so the text cannot be sent anywhere.
The fixes, written for you to check and run yourself
Read each line first. If something in the listing surprises you (a program you did not install, a 777 file you did not make, a backup you did not leave), see when to ask for help before you change anything.
Copied.
total 64 drwxr-x--- 6 deploy nobody 4096 Nov 17 09:14 . -rw-r--r-- 1 deploy deploy 412 Nov 17 09:14 .htaccess -rw-r--r-- 1 deploy deploy 286 Nov 12 16:40 .env -rw-rw-rw- 1 deploy deploy 3204 Nov 12 16:40 config.php -rwxr-xr-x 1 deploy deploy 405 Nov 12 16:40 index.php drwxr-xr-x 4 deploy deploy 4096 Nov 12 16:40 assets drwxrwxrwx 9 deploy deploy 4096 Nov 16 22:51 uploads -rw-r--r-- 1 deploy deploy 8810422 Nov 15 03:00 site-backup.sql.gz -rwsr-xr-x 1 deploy deploy 17032 Nov 14 11:02 resize-helper
Getting a listing to paste
On the server, in a terminal or your host’s terminal page, go to the folder and print it:
cd ~/public_html
ls -la
For one file in full, stat config.php. For every file below a folder, find . -ls (it can be long; the reader takes up to 2,000 files). These commands only read; they change nothing.
What the reader looks for
Write access for everyone, full 777 access, setuid and setgid programs, files that usually hold passwords that every account can read, private keys and SSH files others can reach, backups in a web folder, and modes that do not do what they seem to. The guide lists every rule with its reason.
A + after the mode (an ACL) or a dot (SELinux) means more rules apply than the bits show; the reader says so where it sees one.