aboutsummaryrefslogtreecommitdiff
path: root/files/sync-media
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-04-17 22:26:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-04-17 22:26:42 -0300
commit1ff181e8b9abe10406816b1d57c03991654a5ad2 (patch)
tree915d9421e17bf2121a9fc1e0db292eb6d4006c6b /files/sync-media
parentc4b22590e9ac6ce18b585262a9dea2647ae84ad6 (diff)
downloadpuppet-backup-1ff181e8b9abe10406816b1d57c03991654a5ad2.tar.gz
puppet-backup-1ff181e8b9abe10406816b1d57c03991654a5ad2.tar.bz2
Fix incoming ownership
Diffstat (limited to 'files/sync-media')
-rw-r--r--files/sync-media2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/sync-media b/files/sync-media
index 79a1059..066d28a 100644
--- a/files/sync-media
+++ b/files/sync-media
@@ -76,7 +76,7 @@ if [ -d "$CACHE" ]; then
echo "Fixing $INCOMING permissions..."
$sudo find $INCOMING -type f -exec chmod 664 {} \;
$sudo find $INCOMING -type d -exec chmod 775 {} \;
- $sudo chown -R $WHOAMI $INCOMING/*
+ $sudo chown -R $WHOAMI.incoming $INCOMING
fi
# Add and update local repositories