diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-04-17 22:26:42 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-04-17 22:26:42 -0300 |
commit | 1ff181e8b9abe10406816b1d57c03991654a5ad2 (patch) | |
tree | 915d9421e17bf2121a9fc1e0db292eb6d4006c6b /files/sync-media | |
parent | c4b22590e9ac6ce18b585262a9dea2647ae84ad6 (diff) | |
download | puppet-backup-1ff181e8b9abe10406816b1d57c03991654a5ad2.tar.gz puppet-backup-1ff181e8b9abe10406816b1d57c03991654a5ad2.tar.bz2 |
Fix incoming ownership
Diffstat (limited to 'files/sync-media')
-rw-r--r-- | files/sync-media | 2 |
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 |