version 1.28, 2014/07/05 06:45:00 |
version 1.29, 2014/07/05 06:55:29 |
|
|
while (*owner && !isdigit((unsigned char)*owner) && |
while (*owner && !isdigit((unsigned char)*owner) && |
(*owner != '-')) |
(*owner != '-')) |
++owner; |
++owner; |
if (owner && (UID_T) atoi(owner) != statp->st_uid) { |
if (owner && (uid_t)atoi(owner) != statp->st_uid) { |
debugmsg(DM_MISC, |
debugmsg(DM_MISC, |
"owner does not match (%d != %s).\n", |
"owner does not match (%d != %s).\n", |
statp->st_uid, owner); |
statp->st_uid, owner); |
|
|
while (*group && !isdigit((unsigned char) *group) && |
while (*group && !isdigit((unsigned char) *group) && |
(*group != '-')) |
(*group != '-')) |
++group; |
++group; |
if (group && (UID_T) atoi(group) != statp->st_gid) { |
if (group && (gid_t)atoi(group) != statp->st_gid) { |
debugmsg(DM_MISC, |
debugmsg(DM_MISC, |
"group does not match (%d != %s).\n", |
"group does not match (%d != %s).\n", |
statp->st_gid, group); |
statp->st_gid, group); |