aboutsummaryrefslogtreecommitdiffstats
path: root/src/gitjoe-chowner.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gitjoe-chowner.pl')
-rwxr-xr-xsrc/gitjoe-chowner.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gitjoe-chowner.pl b/src/gitjoe-chowner.pl
index 6d2a5a2..436959e 100755
--- a/src/gitjoe-chowner.pl
+++ b/src/gitjoe-chowner.pl
@@ -24,6 +24,10 @@ sub main {
open(my $owner_fh, '>:encoding(utf-8)', $home_dir . $repo . 'owner');
print $owner_fh $owner;
close($owner_fh);
+ system(
+ '/usr/local/bin/dash',
+ '-c',
+ '/usr/sbin/chown -v ' . $usr . ':' . $usr . ' ' . $home_dir . $repo . 'owner'
exit;
}