11 lines
212 B
Bash
11 lines
212 B
Bash
|
|
# Define base path
|
||
|
|
BASE="/volume1/docker/obsidian"
|
||
|
|
|
||
|
|
# Create folders
|
||
|
|
mkdir -p "${BASE}/config"
|
||
|
|
|
||
|
|
# Set ownership and permissions
|
||
|
|
chown -R 1038:65538 "${BASE}"
|
||
|
|
chmod -R 750 "${BASE}"
|
||
|
|
chmod -R 770 "${BASE}/config"
|