Skip to content

Commit 54a2560

Browse files
committed
Fixing Docker folder permissions recursively
1 parent b8c5cd6 commit 54a2560

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgbuild/pkgbuild.install

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ post_install() {
1313

1414
# Expand $SUDO_USER and execute docker-compose with eval
1515
eval "HOME=/home/$SUDO_USER docker-compose -f /etc/docker-biglinux/jellyfin/docker-compose.yml up -d"
16+
17+
# Set the correct owner and group for the Docker folder and its contents
18+
echo "Setting correct permissions for Docker folder..."
19+
chown -R $SUDO_USER:$SUDO_USER /home/$SUDO_USER/Docker
1620
}
1721

1822
# Executed before package removal

0 commit comments

Comments
 (0)