Files
portioner/portracker/create_portracker_folders.sh

15 lines
404 B
Bash
Raw Normal View History

#!/bin/bash
# Define base path
BASE="/volume1/docker/portracker"
# Create folders
mkdir -p "${BASE}/data"
# Set ownership and permissions
# IMPORTANT: Replace 1024:100 with your actual PUID:PGID if necessary
# By default, we initialize it and you can adjust via Synology File Station if needed.
chown -R 1024:100 "${BASE}"
chmod -R 750 "${BASE}"
echo "Folders created and permissions set for ${BASE}"