-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
portable-data (#24): docs/portable-data.sh started
- Loading branch information
Showing
4 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#!/bin/sh | ||
#=============================================================================== | ||
# | ||
# FILE: portable-data.sh | ||
# | ||
# USAGE: cat portable-data.sh | ||
# | ||
# DESCRIPTION: This is an draft. Ignore it | ||
# | ||
# OPTIONS: --- | ||
# REQUIREMENTS: --- | ||
# BUGS: --- | ||
# NOTES: --- | ||
# AUTHOR: Emerson Rocha <rocha[at]ieee.org> | ||
# COMPANY: Etica.AI | ||
# LICENSE: Public Domain | ||
# VERSION: 0.1 (draft) | ||
# CREATED: 2020-10-25 23:28 UTC v0.1 (draft) | ||
#=============================================================================== | ||
echo "Usage:" | ||
echo " cat portable-software.sh" | ||
echo " cat portable-data.sh" | ||
echo "exiting..." | ||
exit 0 | ||
|
||
##### 1. Requisites ____________________________________________________________ | ||
#### 1.1 Read Tails official documentation about setup persistence ............. | ||
xdg-open https://tails.boum.org/doc/first_steps/persistence/index.en.html | ||
|
||
#### 1.3 Persistence should be enabled and unlocked ............................ | ||
# If these commands don't return error, you're ok to go | ||
ls /home/amnesia/Persistent/ | ||
ls /live/persistence/TailsData_unlocked/ | ||
|
||
##### 2. Recommendations ________________________________________________________ | ||
# On this setup, we recommend run as the non-root user. On tails is 'amnesia' | ||
whoami | ||
# amnesia | ||
|
||
##### 3. /home/amnesia/Persistent/data/ __________________________________________ | ||
# Equivalent: /live/persistence/TailsData_unlocked/ | ||
# Note: this folder is expected to be availible by non-root user | ||
|
||
# We will use Persistent/data/, but you could choose Persistent/my-super-secret-things/. | ||
# The point here is have something to at least be able to work by default | ||
mkdir /home/amnesia/Persistent/data | ||
|
||
|
||
##### 3. /live/persistence/TailsData_unlocked/backups __________________________ | ||
# Note: this folder is expected to be availible by root user | ||
sudo mkdir /live/persistence/TailsData_unlocked/backups | ||
sudo chmod 0600 -R /live/persistence/TailsData_unlocked/backups | ||
|
||
# NOTE: this is an draft. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters