Dev.to
6/29/2026

100 Days of DevOps, Day 4: Permissions That Actually Matter and Why S3 Versioning Shouldn't Be Optional
Short summary
Learn to set Linux file permissions (chmod 755) to limit access per the principle of least privilege, and enable AWS S3 versioning to recover from accidental deletions or overwrites. Both practices reduce impact of human error rather than preventing mistakes entirely. Together they form a resilience strategy: permissions stop unauthorized changes, versioning lets you recover when authorized users make the wrong edit.
- •Use chmod 755 to implement least privilege: owner gets read/write/execute, group and others read/execute only
- •Enable S3 versioning to recover from accidental file deletions or overwrites
- •Recovery mechanisms are more valuable than prevention since mistakes are inevitable
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



