<p>I'm getting this on linux:</p>
<blockquote>
<p>ERROR b.n.p2p.network.TorNetworkNode: Tor node creation failed: java.io.IOException: java.io.IOException: Cannot run program "/mnt/pen/Bisq/btc_mainnet/tor/tor" (in directory "/mnt/pen/Bisq/btc_mainnet/tor"): error=13, Permission denied</p>
</blockquote>
<p>however it seems that the tor file has correct (executable) permission:</p>
<blockquote>
<p>ls -l /mnt/pen/Bisq/btc_mainnet/tor<br>
-rw-r--r--  1 bernard bernard 4295464 Mar 18 06:46 geoip<br>
-rw-r--r--  1 bernard bernard 2615115 Mar 18 06:46 geoip6<br>
-rwxr--r--  1 bernard bernard 2282608 Mar 18 06:46 libcrypto.so.1.0.0*<br>
-rwxr--r--  1 bernard bernard  371064 Mar 18 06:46 libevent-2.1.so.6*<br>
-rwxr--r--  1 bernard bernard  622427 Mar 18 06:46 libgmp.so.10*<br>
-rwxr--r--  1 bernard bernard  486600 Mar 18 06:46 libssl.so.1.0.0*<br>
drwxr-xr-x  2 bernard bernard    4096 Mar 18 06:46 libstdc++/<br>
drwxr-xr-x 13 bernard bernard    4096 Mar 18 06:46 PluggableTransports/<br>
-rwxr-xr-x  1 bernard bernard 3190832 Mar 18 06:46 tor*<br>
-rw-r--r--  1 bernard bernard     707 Mar 18 06:46 torrc</p>
</blockquote>
<p>This must be something related to running from usb flash drive...<br>
Right, just a glimpse at /etc/mtab and I see this:</p>
<blockquote>
<p>/dev/sda2 /mnt/pen ext4 rw,nosuid,nodev,noexec,relatime,data=ordered 0 0</p>
</blockquote>
<p>Critical bit is <code>noexec</code> which means that executables cannot be run from that partition.</p>
<p>A quick fix is to add dedicated entry just for mounting usb flash drive with Bisq:</p>
<blockquote>
<p>/dev/sda2       /mnt/Bisq       auto    noauto,user,exec        0 0</p>
</blockquote>
<p>Now I can run Bisq from my usb flash drive with <code>--appDataDir=/mnt/Bisq/Bisq</code>.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/issues/531#issuecomment-473785518">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AkpZttucWuWRF0y_ouhaQEFbxTc60Tnpks5vXzGogaJpZM4JQlYI">mute the thread</a>.<img src="https://github.com/notifications/beacon/AkpZtn1aetZLOzXqNwUOt5EVy-ZjMGPfks5vXzGogaJpZM4JQlYI.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bisq-network/bisq","title":"bisq-network/bisq","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/bisq-network/bisq"}},"updates":{"snippets":[{"icon":"PERSON","message":"@blabno in #531: I'm getting this on linux:\r\n\r\n\u003eERROR b.n.p2p.network.TorNetworkNode: Tor node creation failed: java.io.IOException: java.io.IOException: Cannot run program \"/mnt/pen/Bisq/btc_mainnet/tor/tor\" (in directory \"/mnt/pen/Bisq/btc_mainnet/tor\"): error=13, Permission denied \r\n\r\nhowever it seems that the tor file has correct (executable) permission:\r\n\r\n\u003els -l /mnt/pen/Bisq/btc_mainnet/tor\r\n-rw-r--r--  1 bernard bernard 4295464 Mar 18 06:46 geoip\r\n-rw-r--r--  1 bernard bernard 2615115 Mar 18 06:46 geoip6\r\n-rwxr--r--  1 bernard bernard 2282608 Mar 18 06:46 libcrypto.so.1.0.0*\r\n-rwxr--r--  1 bernard bernard  371064 Mar 18 06:46 libevent-2.1.so.6*\r\n-rwxr--r--  1 bernard bernard  622427 Mar 18 06:46 libgmp.so.10*\r\n-rwxr--r--  1 bernard bernard  486600 Mar 18 06:46 libssl.so.1.0.0*\r\ndrwxr-xr-x  2 bernard bernard    4096 Mar 18 06:46 libstdc++/\r\ndrwxr-xr-x 13 bernard bernard    4096 Mar 18 06:46 PluggableTransports/\r\n-rwxr-xr-x  1 bernard bernard 3190832 Mar 18 06:46 tor*\r\n-rw-r--r--  1 bernard bernard     707 Mar 18 06:46 torrc\r\n\r\nThis must be something related to running from usb flash drive...\r\nRight, just a glimpse at /etc/mtab and I see this:\r\n \u003e/dev/sda2 /mnt/pen ext4 rw,nosuid,nodev,noexec,relatime,data=ordered 0 0\r\n\r\nCritical bit is `noexec` which means that executables cannot be run from that partition.\r\n\r\nA quick fix is to add dedicated entry just for mounting usb flash drive with Bisq:\r\n\u003e/dev/sda2       /mnt/Bisq       auto    noauto,user,exec        0 0\r\n\r\nNow I can run Bisq from my usb flash drive with `--appDataDir=/mnt/Bisq/Bisq`."}],"action":{"name":"View Issue","url":"https://github.com/bisq-network/bisq/issues/531#issuecomment-473785518"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/531#issuecomment-473785518",
"url": "https://github.com/bisq-network/bisq/issues/531#issuecomment-473785518",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>