mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
- 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>
995 B
995 B
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
sudo ./reset_perms/reset_perms.sh
What It Does
- Creates mount directories if missing
- Mounts specified devices
- Creates bind mounts for timeshift
- 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