File tree Expand file tree Collapse file tree
root/etc/s6-overlay/s6-rc.d Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -329,4 +329,5 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
329329
330330# # Versions
331331
332+ * ** 08.01.26:** - Improve permission fixing.
332333* ** 31.10.25:** - Initial Release.
Original file line number Diff line number Diff line change @@ -74,4 +74,5 @@ init_diagram: |
7474 "sealskin:latest" <- Base Images
7575# changelog
7676changelogs :
77+ - {date: "08.01.26:", desc: "Improve permission fixing."}
7778 - {date: "31.10.25:", desc: "Initial Release."}
Original file line number Diff line number Diff line change 11#!/usr/bin/with-contenv bash
22
3+ mkdir -p /config/ssl
4+
35# create self signed cert
46if [ ! -f "/config/ssl/proxy_key.pem" ]; then
5- mkdir -p /config/ssl
67 openssl req -new -x509 \
78 -days 3650 -nodes \
89 -out /config/ssl/proxy_cert.pem \
910 -keyout /config/ssl/proxy_key.pem \
1011 -subj "/C=US/ST=CA/L=Carlsbad/O=Linuxserver.io/OU=LSIO Server/CN=*"
1112 chmod 600 /config/ssl/proxy_key.pem
12- chown -R abc:abc /config/ssl
1313fi
1414
1515# generate server key
1616if [ ! -f "/config/ssl/server_key.pem" ]; then
17- mkdir -p /config/ssl
1817 openssl genpkey \
1918 -algorithm RSA \
2019 -out /config/ssl/server_key.pem \
2120 -pkeyopt rsa_keygen_bits:4096
2221 chmod 600 /config/ssl/server_key.pem
23- chown -R abc:abc /config/ssl
2422fi
2523
2624# docker socket perms
@@ -45,5 +43,6 @@ if [ -S "${DOCKER_SOCK_PATH}" ]; then
4543fi
4644
4745# perms
48- chown abc:abc /sealskin.zip
49- chown abc:abc /storage
46+ lsiown abc:abc /sealskin.zip
47+ lsiown abc:abc /storage
48+ lsiown -R abc:abc /config
Original file line number Diff line number Diff line change 11#!/usr/bin/with-contenv bash
22
3+ cd /opt/sealskin/server
4+
35# Run SealSkin
46exec s6-setuidgid abc \
5- bash -c 'cd /opt/sealskin/server && python3 main.py'
7+ python3 main.py
You can’t perform that action at this time.
0 commit comments