Update reset_perms.sh

This commit is contained in:
WickedYoda committed 2025-05-11 16:12:50 -05:00
1 parent 5451c2f74a
commit 1b1bb9a0ac
1 file changed
+1 -2
+1 -2
View File
@@ -32,8 +32,7 @@ echo "Resetting permissions..."
for path in /mnt/public /mnt/public-bk /mnt/public2 /mnt/public2-bk /mnt/timeshift /mnt/timeshift1; do for path in /mnt/public /mnt/public-bk /mnt/public2 /mnt/public2-bk /mnt/timeshift /mnt/timeshift1; do
echo "Applying permissions to $path..." echo "Applying permissions to $path..."
sudo chown -R traver:traver "$path" sudo chown -R traver:traver "$path"
sudo find "$path" -type d -exec chmod 755 {} \; sudo chmod -R 777 "$path"
sudo find "$path" -type f -exec chmod 644 {} \;
done done
echo "All mounts complete and permissions fixed." echo "All mounts complete and permissions fixed."