← Learn
Safe
chown --from=root app /srv/app/run/app.sock

linux · bash · Nightmare

--from makes the change conditional: the file is only re-owned if it currently belongs to root, so a socket already owned by someone else…

The full explanation and danger signals for this pack are part of Pro.

Think you can spot these under time pressure?

Start Training

More Linux