Skip to content

Commit

Permalink
portable-data (#24): docs/portable-data.sh started
Browse files Browse the repository at this point in the history
  • Loading branch information
fititnt committed Oct 26, 2020
1 parent 3a6628f commit 1c44b97
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# TailsOS-for-non-whistleblowers
**Rocha's playground for [TailsOS](https://tails.boum.org/). Work in progress.**
**Rocha's playground for [Tails - The Amnesic Incognito Live System](https://tails.boum.org/). Work in progress.**

```bash
# From an already running TailsOS with persistence enabled, run:
Expand Down
2 changes: 1 addition & 1 deletion docs/filezilla-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ sudo apt install filezilla
# 2. write filezilla (it will filter to likely just one application)
# 3. Press Enter

##### B.3 Persist gFTP configurations __________________________________________
##### B.3 Persist filezilla configurations _____________________________________

# TODO: document how to persist this app dotfiles (or other type of internal
# configuration database) to be reused if is not installed on Persistence
Expand Down
54 changes: 54 additions & 0 deletions docs/portable-data.sh
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.
1 change: 1 addition & 0 deletions docs/vscode-portable-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ exit 0

# On this setup, we will assume you will want download from original site via
# command line (It's the VSCODE_DOWNLOAD_URL value)
VSCODE_DOWNLOAD_URL="https://go.microsoft.com/fwlink/?LinkID=620884"

#### A.2. Download VSCode and move to /home/amnesia/Desktop/VSCode-linux-x64 ___
# wget https://go.microsoft.com/fwlink/?LinkID=620884 -O /tmp/vscode.tar.gz
Expand Down

0 comments on commit 1c44b97

Please sign in to comment.