diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-10-02 19:56:56 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-10-02 19:56:56 -0300 |
commit | a19e7e7e1ef8aa67c58d150e7b5f207705752677 (patch) | |
tree | 1998d0a91115005ef81adf03173a35ee955ae826 /share | |
parent | 58911fc85f26acbcdd1d9f02466126b115770b33 (diff) | |
download | hydra-a19e7e7e1ef8aa67c58d150e7b5f207705752677.tar.gz hydra-a19e7e7e1ef8aa67c58d150e7b5f207705752677.tar.bz2 |
Sync-media: folder ownership
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydractl/sync-media | 2 |
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 |