Remove the file:/// link to our documentation about persistence (refs: #8897)
[tails-persistence-setup.git] / bin / tails-fix-persistent-volume-permissions
blob2e428f5dc6ff366546f9160d61c8e4c909ba94e1
1 #!/bin/sh
3 set -e
4 set -u
6 PERSISTENCE_ROOT=/media/tails-persistence-setup/TailsData
7 /bin/chmod 0775 "$PERSISTENCE_ROOT"
8 /bin/mount -o remount,acl "$PERSISTENCE_ROOT"
9 /bin/setfacl -b "$PERSISTENCE_ROOT"
10 /bin/setfacl -m user:tails-persistence-setup:rwx "$PERSISTENCE_ROOT"