mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
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>
This commit is contained in:
1 parent
b40aaf6f0e
commit
0c62f7495a
42 files changed
+4501
-865
No files matched your search
+53
-37
@@ -1,43 +1,59 @@
|
||||
<<<<<<< HEAD
|
||||
# reset_perms
|
||||
|
||||
## Purpose
|
||||
This directory contains files related to **reset perms**.
|
||||
|
||||
## Contents
|
||||
- `reset_perms 1.sh`
|
||||
- `reset_perms.sh`
|
||||
|
||||
## Usage
|
||||
- Review each script or configuration file before running
|
||||
- Some scripts may require **root or sudo**
|
||||
- Paths and variables may need adjustment for your environment
|
||||
|
||||
## Notes
|
||||
- This folder is part of the **public-setupfiles** repository
|
||||
- Files are provided as-is for reference or automation
|
||||
|
||||
## Safety
|
||||
Always back up data before running scripts that modify system state.
|
||||
=======
|
||||
# reset_perms
|
||||
|
||||
## Overview
|
||||
This directory is part of the **public-setupfiles** repository.
|
||||
It contains scripts, configuration files, or resources related to **reset_perms**.
|
||||
|
||||
## Usage
|
||||
- Review scripts before execution
|
||||
- Some files may require **root or sudo privileges**
|
||||
- Paths, variables, or credentials may need customization
|
||||
|
||||
## Logging & Output
|
||||
Scripts may generate logs or output files in the same directory or system locations.
|
||||
|
||||
## Safety Notes
|
||||
- Always back up important data before running scripts
|
||||
- Test in a non-production environment when possible
|
||||
- Use at your own risk
|
||||
Scripts to reset file and directory permissions on mounted storage.
|
||||
|
||||
---
|
||||
>>>>>>> main
|
||||
|
||||
## 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
|
||||
Reference in new issue
Block a user