diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-09-26 19:18:55 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-09-26 19:18:55 -0300 |
commit | 28d32c0ceb5ceee2bfb50d00ea7d99f4e77ef284 (patch) | |
tree | ae0dfb35e55465e0ea4f556ec95a5c654e03008d | |
parent | 0579dc31729143cdd71bb30d58c8b215c9fe9cda (diff) | |
download | puppet-backup-28d32c0ceb5ceee2bfb50d00ea7d99f4e77ef284.tar.gz puppet-backup-28d32c0ceb5ceee2bfb50d00ea7d99f4e77ef284.tar.bz2 |
Fix playlist perms at sync-media
-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 |