FG
💻 Software

How do I restore and accidental chmod (or chown, chgrp) of root directory?

Fresh5 days ago
Mar 15, 20266001 views
Confidence Score0%
0%

Problem

I was altering permissions to log files and accidentally gave 777 to root. Doah. Could be worse I guess. And I caught it immediately and canceled the command's execution. Except the accident brought to mind that I run in root a lot. I use both Macintosh and Linux. Mac has a repair permissions utili…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I restore and accidental chmod (or chown, chgrp) of root directory?

Low Risk

For rpm based distributions it's easy to reset all managed files back to the installed state. Replace '-a' with package name(s) to limit reset.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment