How to Fix File Ownership and Permissions Safely Using Terminal on a Mac
Quick Answer To fix a file or folder you own, first inspect it with ls -leO@. Then use chown to change ownership and chmod to change permissions. Start with the smallest possible change, work on a specific path instead of an entire disk, and verify the result afterward. Never run a recursive ownership or permission … Read more