Run stat /srv/www/index.html.
stat /srv/www/index.html
Relate a web file owner to the identity used by its service.
Permissions and usersstatidsystemctl
Click any instruction for the command details, the why, and the common mistake to avoid.
Run stat /srv/www/index.html.
stat /srv/www/index.html
Run id www-data.
id www-data
Run systemctl status nginx.
systemctl status nginx
Create a free account to sync completed lessons, XP, streaks, course status, and your next lesson across sessions.
Checking account status...
Progress sync is idle.
Progress sync stores completion IDs, scores, streaks, badges, and game settings. Terminal contents, editor snippets, lab scratch, email, and real names are never published on leaderboards or share cards.
Build repeatable confidence with matching service identities with file ownership.
Start with stat /srv/www/index.html, inspect the result, then continue in order.
Matching service identities with file ownership helps operators explain what they know before they change anything.
stat <path>
Show lab file details.
systemctl status <service>
Inspect simulated service status.