aboutsummaryrefslogtreecommitdiff
path: root/lib/httracker
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-10-17 10:34:59 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-10-17 10:34:59 -0300
commit3ed2c928b91dad59d8664104b67b6b9b9016516b (patch)
treefe12bf5e1c83cd9ed54ebe807a6e93f29842737c /lib/httracker
parente6c07612376746899b816883f2968bc8063143d2 (diff)
downloadhttruta-3ed2c928b91dad59d8664104b67b6b9b9016516b.tar.gz
httruta-3ed2c928b91dad59d8664104b67b6b9b9016516b.tar.bz2
Info chown
Diffstat (limited to 'lib/httracker')
-rw-r--r--lib/httracker/functions2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/httracker/functions b/lib/httracker/functions
index d81d486..50c83a6 100644
--- a/lib/httracker/functions
+++ b/lib/httracker/functions
@@ -47,6 +47,7 @@ function httracker_get {
# Fix permissions
if [ "`whoami`" != "$USER" ] && [ "`whoami`" == "root" ]; then
+ echo "Fixing $TARGET permissions..."
chown -R $USER.$GROUP $TARGET/
fi
@@ -55,6 +56,7 @@ function httracker_get {
# Fix permissions again
if [ "`whoami`" != "$USER" ] && [ "`whoami`" == "root" ]; then
+ echo "Fixing $TARGET permissions again..."
chown -R $USER.$GROUP $TARGET/
fi