Check bitcoind directory permissions command:
sudo ls -lsa /mnt/usb/docker/volumes/my-dojo_data-bitcoind/
Example Output:
Total 12
4 drwxr-xr-x 3 root root 4096 Dec 21 23:14 .
4 drwx------ 9 root root 4096 Jan 26 22:01 ..
4 drwxr-xr-x 5 1105 1108 4096 Jan 31 19:47 _data
Check bitcoind directory individual permissions command:
sudo ls -lsa /mnt/usb/docker/volumes/my-dojo_data-bitcoind/_data/
Example Output:
total 16624
4 drwxr-xr-x 5 1105 1108 4096 Jan 31 19:47 .
4 drwxr-xr-x 3 root root 4096 Dec 21 23:14 ..
4 -rw------- 1 1105 1108 37 Jan 30 15:17 banlist.dat
4 -rw------- 1 1105 1108 3 Jan 28 20:15 bitcoind.pid
132 drwx------ 3 1105 1108 131072 Jan 31 08:04 blocks
132 drwx------ 2 1105 1108 131072 Jan 31 05:34 chainstate
10588 -rw------- 1 1105 1108 10838553 Jan 31 19:40 debug.log
244 -rw------- 1 1105 1108 247985 Jan 19 14:07 fee_estimates.dat
4 drwx------ 3 1105 1108 4096 Dec 21 23:29 indexes
0 -rw------- 1 1105 1108 0 Dec 21 23:29 .lock
1392 -rw------- 1 1105 1108 1424966 Jan 19 14:07 mempool.dat
4116 -rw------- 1 1105 1108 4214646 Jan 31 19:47 peers.dat
Check tor directory permissions command:
sudo ls -lsa /mnt/usb/docker/volumes/my-dojo_data-tor/
Example Output:
total 12
4 drwxr-xr-x 3 root root 4096 Dec 21 23:14 .
4 drwx------ 9 root root 4096 Jan 26 22:01 ..
4 drwxr-x--- 8 1104 1107 4096 Jan 28 20:15 _data
Check tor directory individual permissions command:
sudo ls -lsa /mnt/usb/docker/volumes/my-dojo_data-tor/_data
Example Output:
total 32
4 drwxr-x--- 8 1104 1107 4096 Jan 28 20:15 .
4 drwxr-xr-x 3 root root 4096 Dec 21 23:14 ..
4 drwxr-x--- 2 1104 1107 4096 Jan 28 20:15 hsv2bitcoind
4 drwx------ 2 1104 1107 4096 Jan 28 20:15 hsv2dojo
4 drwx------ 3 1104 1107 4096 Jan 28 20:15 hsv3dojo
4 drwx------ 3 1104 1107 4096 Jan 18 14:16 hsv3electrs
4 drwxr-x--- 3 1104 1107 4096 Jan 28 20:15 hsv3explorer
4 drwxr-x--- 3 1104 1107 4096 Jan 31 19:57 .tor
Check nodejs directory permissions command:
sudo ls -lsa /mnt/usb/docker/volumes/my-dojo_data-nodejs/
Example Output:
total 12
4 drwxr-xr-x 3 root root 4096 Dec 21 23:14 .
4 drwx------ 9 root root 4096 Jan 26 22:01 ..
4 drwxr-xr-x 3 root root 4096 Dec 21 23:29 _data
Check nodejs directory individual permissions command:
sudo ls -lsa /mnt/usb/docker/volumes/my-dojo_data-nodejs/_data
Example Output:
total 12
4 drwxr-xr-x 3 root root 4096 Dec 21 23:29 .
4 drwxr-xr-x 3 root root 4096 Dec 21 23:14 ..
4 drwxr-xr-x 2 "user" "user" 4096 Dec 21 23:29 logs
Check nginx directory permissions command:
sudo ls -lsa /mnt/usb/docker/volumes/my-dojo_data-nginx
Example Output:
total 12
4 drwxr-xr-x 3 root root 4096 Dec 21 23:14 .
4 drwx------ 9 root root 4096 Jan 26 22:01 ..
4 drwxr-xr-x 3 root root 4096 Dec 21 23:29 _data
Check nginx individual directory permissions:
sudo ls -lsa /mnt/usb/docker/volumes/my-dojo_data-nginx/_data
Example Output:
total 12
4 drwxr-xr-x 3 root root 4096 Dec 21 23:29 .
4 drwxr-xr-x 3 root root 4096 Dec 21 23:14 ..
4 drwxr-xr-x 2 100 101 4096 Dec 21 23:29 logs
Check explorer directory permissions command:
sudo ls -lsa /mnt/usb/docker/volumes/my-dojo_data-explorer
Example Output:
total 12
4 drwxr-xr-x 3 root root 4096 Jan 18 13:54 .
4 drwx------ 9 root root 4096 Jan 26 22:01 ..
4 drwxr-xr-x 2 root root 4096 Jan 18 14:16 _data
Check explorer individual directory permissions command:
sudo ls -lsa /mnt/usb/docker/volumes/my-dojo_data-explorer/_data
Example Output:
total 32
4 drwxr-xr-x 2 root root 4096 Jan 18 14:16 .
4 drwxr-xr-x 3 root root 4096 Jan 18 13:54 ..
0 -rw-r--r-- 1 "user" "user" 0 Jan 28 20:15 explorer-error.log
24 -rw-r--r-- 1 "user" "user" 20945 Jan 28 20:24 explorer-output.log
Check mysql/db directory permissions command:
sudo ls -lsa /mnt/usb/docker/volumes/my-dojo_data-mysql
Example Output:
total 12
4 drwxr-xr-x 3 root root 4096 Dec 21 23:14 .
4 drwx------ 9 root root 4096 Jan 26 22:01 ..
4 drwxr-xr-x 5 999 root 4096 Jan 28 20:15 _data
Check mysql/db individual directory permissions command:
sudo ls -lsa /mnt/usb/docker/volumes/my-dojo_data-mysql/_data
Example Output:
total 122968
4 drwxr-xr-x 5 999 root 4096 Jan 28 20:15 .
4 drwxr-xr-x 3 root root 4096 Dec 21 23:14 ..
32 -rw-rw---- 1 999 adm 32768 Jan 28 20:15 aria_log.00000001
4 -rw-rw---- 1 999 adm 52 Jan 28 20:15 aria_log_control
32 -rw-rw---- 1 999 adm 31577 Jan 28 20:15 ib_buffer_pool
12288 -rw-rw---- 1 999 adm 12582912 Feb 1 07:18 ibdata1
49152 -rw-rw---- 1 999 adm 50331648 Feb 1 07:18 ib_logfile0
49152 -rw-rw---- 1 999 adm 50331648 Feb 1 07:18 ib_logfile1
12288 -rw-rw---- 1 999 adm 12582912 Jan 28 20:15 ibtmp1
0 -rw-rw---- 1 999 adm 0 Dec 21 23:29 multi-master.info
4 drwx------ 2 999 adm 4096 Dec 21 23:29 mysql
4 drwx------ 2 999 adm 4096 Dec 21 23:29 performance_schema
4 drwx------ 2 999 adm 4096 Dec 21 23:29 samourai@002dmain
Check whirlpool directory permissions command:
sudo ls -lsa /mnt/usb/docker/volumes/my-dojo_data-whirlpool
Example Output:
total 12
4 drwxr-xr-x 3 root root 4096 Aug 11 21:17 .
4 drwx------ 7 root root 4096 Aug 11 21:39 ..
4 drwxr-x--- 3 1110 1113 4096 Aug 11 22:13 _data
Check mysql/db individual directory permissions command:
sudo ls -lsa /mnt/usb/docker/volumes/my-dojo_data-whirlpool/_data
Example Output:
total 12
4 drwxr-x--- 3 1110 1113 4096 Aug 11 22:13 .
4 drwxr-xr-x 3 root root 4096 Aug 11 21:17 ..
4 drwxr-x--- 2 1110 1113 4096 Sep 15 15:11 .whirlpool-cli
To change the permissions use command:
sudo chown xxxx:xxxx /mnt/usb/docker/volumes/my-dojo_data-"Container"/_data
Replace the xxxx
with the permission you want
Replace "Container"
with the container you want.
You can reference the check permission commands to find correct container name
To change bitcoind permissions to 1105:1108
Example Command:
sudo chown 1105:1108 /mnt/usb/docker/volumes/my-dojo_data-bitcoind/_data
Need help? Try out our Support Service.
Join the RoninDojo Chatroom and engage the community.