← Learn
Dangerous
chmod -R 777 /var/www

linux · bash · Beginner

Makes every file in the web root readable, writable, and executable by every user on the system. Any process that gets a foothold can now rewrite the application it is serving.

Signals to notice

  • 777 grants write permission to every local user
  • -R applies it to every file beneath the web root

Think you can spot these under time pressure?

Start Training

More File System