Run chown admin:www-data /srv/www/index.html.
chown admin:www-data /srv/www/index.html
Change simulated owner and group labels on a web file.
Permissions and userschownchgrpstat
Click any instruction for the command details, the why, and the common mistake to avoid.
Run chown admin:www-data /srv/www/index.html.
chown admin:www-data /srv/www/index.html
Run chgrp www-data /srv/www/index.html.
chgrp www-data /srv/www/index.html
Run stat /srv/www/index.html.
stat /srv/www/index.html
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.
Practice ownership labels without touching a real server.
Use chown admin:www-data, then chgrp www-data.
Owner and group mistakes can break deployments.
chown <user:group> <path>
Change simulated owner/group labels.
chgrp <group> <path>
Change a simulated file group label.
stat <path>
Show lab file details.