From: Stephen Jianu Date: Thu, 7 May 2026 02:13:27 +0000 (-0500) Subject: Fix typo for the termux-setup-storage command in syncthing-android.md X-Git-Url: https://stephenjianu.com/gitweb/?a=commitdiff_plain;p=stephenjianudotcom.git Fix typo for the termux-setup-storage command in syncthing-android.md --- diff --git a/content/syncthing-android.md b/content/syncthing-android.md index 7d6f10b..0815ac9 100644 --- a/content/syncthing-android.md +++ b/content/syncthing-android.md @@ -10,7 +10,7 @@ It just so happens that [Termux](https://termux.dev/en/), everyone's favorite An While this blog post doesn't serve as a full tutorial on how to set this up, I'll go over a few things that I did to get this going from a high-level perspective: -1. If you want Syncthing to be able to access your Android filesystem outside of your Termux environment (e.g. for access to the DCIM directory for photos), you'll need to give it access to your shared storage, which can be done be following [this guide](https://wiki.termux.com/wiki/Termux-setup-storage). The long and short of it is that you need to run `termux-shared-storage` in the Termux terminal to trigger the permission request. You may need to revoke and re-grant the storage permission if you're having issues. The root of shared storage will be accessible at `~/storage/shared` and there are a few other directories that map to common Android directories such as `~/storage/dcim` for camera photos. Note that this is optional if you don't want Syncthing to touch your shared storage. I have my reasons for wanting this, you may have your reasons for not wanting this. +1. If you want Syncthing to be able to access your Android filesystem outside of your Termux environment (e.g. for access to the DCIM directory for photos), you'll need to give it access to your shared storage, which can be done be following [this guide](https://wiki.termux.com/wiki/Termux-setup-storage). The long and short of it is that you need to run `termux-setup-storage` in the Termux terminal to trigger the permission request. You may need to revoke and re-grant the storage permission if you're having issues. The root of shared storage will be accessible at `~/storage/shared` and there are a few other directories that map to common Android directories such as `~/storage/dcim` for camera photos. Note that this is optional if you don't want Syncthing to touch your shared storage. I have my reasons for wanting this, you may have your reasons for not wanting this. 2. Install Syncthing via `pkg install syncthing` 3. Run `syncthing` in the Termux terminal emulator to have it create the needed files and open up a web browser into the Syncthing web interface. If you want access to the Syncthing web interface from another device like a PC, provided your Android device is connected to the same network, you can go to `Actions->Settings->GUI` and replace the IP of `127.0.0.1` in the `GUI Listen Address` with `0.0.0.0`. * **Note that this is optional and mostly for convenience. Please note the potential security risks of doing this. It will expose your device's Syncthing web interface to your entire LAN. At the very least you may want to set a username and password on that same screen.**