summaryrefslogtreecommitdiff
path: root/share/hydractl/sync-media
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/sync-media')
-rwxr-xr-xshare/hydractl/sync-media2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/hydractl/sync-media b/share/hydractl/sync-media
index 5516906..8b1fc79 100755
--- a/share/hydractl/sync-media
+++ b/share/hydractl/sync-media
@@ -160,6 +160,8 @@ mkdir -p $CACHE
#echo "Fixing $CACHE permissions..."
#$sudo find $CACHE -type f -exec chmod 644 {} \;
#$sudo find $CACHE -type d -exec chmod 755 {} \;
+$sudo chown $WHOAMI. $CACHE
+$sudo chown $WHOAMI. $CACHE/*
sync_media_incoming_perms
# Iterate over existing repositories in the local cache