Use the POSIX syntax for chown.
Submmited by: garrett
This commit is contained in:
parent
e58f466620
commit
f1d4135bd9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80684
@ -613,7 +613,7 @@ dotrim(char *log, const char *pid_file, int numdays, int flags, int perm,
|
||||
if (noaction) {
|
||||
printf("mv %s %s\n", zfile1, zfile2);
|
||||
printf("chmod %o %s\n", perm, zfile2);
|
||||
printf("chown %d.%d %s\n",
|
||||
printf("chown %d:%d %s\n",
|
||||
owner_uid, group_gid, zfile2);
|
||||
} else {
|
||||
(void) rename(zfile1, zfile2);
|
||||
|
Loading…
Reference in New Issue
Block a user