summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/pkg_install/add/futil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/add/futil.c b/usr.sbin/pkg_install/add/futil.c
index 36e6474..3ab87dc 100644
--- a/usr.sbin/pkg_install/add/futil.c
+++ b/usr.sbin/pkg_install/add/futil.c
@@ -83,8 +83,8 @@ apply_perms(char *dir, char *arg)
if (vsystem("cd %s && chmod -R %s %s", cd_to, Mode, arg))
warnx("couldn't change modes of '%s' to '%s'", arg, Mode);
if (Owner && Group) {
- if (vsystem("cd %s && chown -R %s.%s %s", cd_to, Owner, Group, arg))
- warnx("couldn't change owner/group of '%s' to '%s.%s'",
+ if (vsystem("cd %s && chown -R %s:%s %s", cd_to, Owner, Group, arg))
+ warnx("couldn't change owner/group of '%s' to '%s:%s'",
arg, Owner, Group);
return;
}
OpenPOWER on IntegriCloud