View | Details | Raw Unified | Return to bug 30507
Collapse All | Expand All

(-)usr.sbin/pkg_install/add/futil.c (-1 / +1 lines)
Lines 83-89 Link Here
83
	if (vsystem("cd %s && chmod -R %s %s", cd_to, Mode, arg))
83
	if (vsystem("cd %s && chmod -R %s %s", cd_to, Mode, arg))
84
	    warnx("couldn't change modes of '%s' to '%s'", arg, Mode);
84
	    warnx("couldn't change modes of '%s' to '%s'", arg, Mode);
85
    if (Owner && Group) {
85
    if (Owner && Group) {
86
	if (vsystem("cd %s && chown -R %s.%s %s", cd_to, Owner, Group, arg))
86
	if (vsystem("cd %s && chown -R %s:%s %s", cd_to, Owner, Group, arg))
87
	    warnx("couldn't change owner/group of '%s' to '%s.%s'",
87
	    warnx("couldn't change owner/group of '%s' to '%s.%s'",
88
		   arg, Owner, Group);
88
		   arg, Owner, Group);
89
	return;
89
	return;

Return to bug 30507