Files
WickedYodaandJarvis 0c62f7495a docs: add READMEs and wiki documentation for all directories
- Add comprehensive wiki documentation under .github/wiki/ (19 articles)
- Add READMEs to directories that lacked them
- Fix merge conflict markers in existing READMEs
- Update root readme.md with improved structure

Co-authored-by: Jarvis <jarvis@wickedyoda.local>
2026-09-04 12:31:11 -05:00

59 lines
995 B
Markdown

# reset_perms
## Overview
Scripts to reset file and directory permissions on mounted storage.
---
## Files
| File | Description |
|------|-------------|
| `reset_perms.sh` | Reset permissions on specified mounts |
| `reset_perms 1.sh` | Alternative version |
---
## Usage
```bash
sudo ./reset_perms/reset_perms.sh
```
---
## What It Does
1. Creates mount directories if missing
2. Mounts specified devices
3. Creates bind mounts for timeshift
4. Sets permissions (777) on all paths
---
## Paths Reset
| Path | Device |
|------|--------|
| `/mnt/public` | /dev/sdc1 |
| `/mnt/public-bk` | /dev/sde1 |
| `/mnt/public2` | /dev/sdd1 |
| `/mnt/public2-bk` | /dev/sdb1 |
| `/mnt/timeshift` | Bind from public2 |
| `/mnt/timeshift1` | Bind from public2-bk |
---
## Permissions
- Owner: `root:root`
- Permissions: `777` (world read/write/execute)
---
## Notes
- Check device IDs match your system
- Modify mount commands if devices differ
- Run after system update or hardware change