Skip to content

Commit 9bbe33a

Browse files
authored
Recreate basic clearnet env conditions not present since Tails 6.x
1 parent 71eb36d commit 9bbe33a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

bootstrap.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,18 @@ echo "${ADMIN_PASS}" | sudo -S -v > /dev/null 2>&1
8787

8888
# Give ownership of the amnesia mounts to the amnesia user+group and relax the permissions.
8989
# For example, new Veracrypt volume mounts are initially owned by root:root.
90-
log "Set up permissions on amnesia mounts, prog-id=3"
90+
log "Set up permissions on amnesia mounts and clearnet user environment, prog-id=3"
9191
sudo mkdir -p /media/amnesia
9292
sudo chown amnesia:amnesia /media/amnesia
9393
sudo chmod 710 /media/amnesia
9494
sudo chown amnesia:amnesia /media/amnesia/* || true # Ignore failures
9595
sudo chmod 775 /media/amnesia/* || true # Ignore failures
9696

97+
# Recreate classic clearnet user environmental conditions not present by default since Tails 6.x
98+
sudo mkdir -p /home/clearnet/
99+
sudo chown clearnet:clearnet /home/clearnet/
100+
sudo usermod --home /home/clearnet clearnet
101+
97102
log "Process configuration, prog-id=4"
98103

99104
# Function: Asks the user to select their HiddenVM home directory, pre-selecting

0 commit comments

Comments
 (0)