mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
Update reset_perms.sh
This commit is contained in:
1 parent
5451c2f74a
commit
1b1bb9a0ac
1 file changed
+1
-2
@@ -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."
|
||||||
Reference in new issue
Block a user