mirror of
https://github.com/sunknudsen/privacy-guides.git
synced 2025-02-23 09:13:56 +00:00
Updated VeraCrypt guide to make restoring files read-only
This commit is contained in:
parent
4bf0026b67
commit
96abd511a0
@ -212,7 +212,7 @@ trap dismount ERR INT
|
|||||||
volume_path="$BACKUP_VOLUME_PATH"
|
volume_path="$BACKUP_VOLUME_PATH"
|
||||||
mount_point="/Volumes/Backup"
|
mount_point="/Volumes/Backup"
|
||||||
|
|
||||||
veracrypt --text --mount --pim 0 --keyfiles "" --protect-hidden no "\$volume_path" "\$mount_point"
|
veracrypt --text --mount --pim "0" --keyfiles "" --protect-hidden "no" "\$volume_path" "\$mount_point"
|
||||||
|
|
||||||
mkdir -p "\$mount_point/Versioning"
|
mkdir -p "\$mount_point/Versioning"
|
||||||
|
|
||||||
@ -309,7 +309,7 @@ trap dismount ERR INT
|
|||||||
volume_path="$BACKUP_VOLUME_PATH"
|
volume_path="$BACKUP_VOLUME_PATH"
|
||||||
mount_point="/Volumes/Backup"
|
mount_point="/Volumes/Backup"
|
||||||
|
|
||||||
veracrypt --text --mount --pim 0 --keyfiles "" --protect-hidden no "\$volume_path" "\$mount_point"
|
veracrypt --text --mount --mount-options "readonly" --pim "0" --keyfiles "" --protect-hidden "no" "$volume_path" "$mount_point"
|
||||||
|
|
||||||
open "\$mount_point"
|
open "\$mount_point"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user