Commit d63fe071 authored by Leigh Stoller's avatar Leigh Stoller

Add -h option to chown so that symlinks are changed too.

parent eaf31a15
......@@ -110,7 +110,7 @@ if (! defined($this_user)) {
}
my $this_uid = $this_user->uid();
if (system("$CHOWN -R $this_uid $pathname")) {
if (system("$CHOWN -h -R $this_uid $pathname")) {
die("*** $0:\n".
" Failed: '$CHOWN -R $this_uid $pathname'\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment