docker-plex-wireguard/init/90_chown_plex_owned_files.sh

13 lines
221 B
Bash
Raw Normal View History

2015-07-03 10:34:26 +02:00
#!/bin/bash
2015-09-16 21:47:34 +02:00
if [ ! -d "/config/Library" ]; then
mkdir /config/Library
chown abc:abc /config/Library
fi
2015-09-16 21:47:34 +02:00
if [ ! -f "/config/Library/chown.log" ]; then
chown -Rc abc:root /config/Library >> /config/Library/chown.log
fi