diff options
-rw-r--r-- | files/sync-media | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/files/sync-media b/files/sync-media index 904adc0..ea658a0 100644 --- a/files/sync-media +++ b/files/sync-media @@ -102,7 +102,8 @@ if [ -d "$CACHE" ]; then if [ -d "playlists" ]; then $sudo chmod 775 playlists $sudo chown -R mpd.audio playlists - $sudo chmod 664 playlists/* + find playlists -type f --exec sudo chmod 664 {} \; + find playlists -type d --exec sudo chmod 775 {} \; fi sync_media_identity |