Fixed some wrong permissions, fixed FreeBSD mbpasswd
This commit is contained in:
parent
ca70e6659e
commit
65b93420c5
2
Makefile
2
Makefile
@ -146,6 +146,8 @@ install:
|
||||
${CHOWN} -R ${OWNER}.${GROUP} ${PREFIX}/var ; \
|
||||
chmod -R 0750 ${PREFIX}/var ; \
|
||||
fi
|
||||
@chmod 0770 ${PREFIX}/var
|
||||
@chmod 0770 ${PREFIX}/var/mail
|
||||
for d in ${SUBDIRS}; do (cd $$d && ${MAKE} $@) || exit; done
|
||||
|
||||
dist tar: ${TARFILE}
|
||||
|
@ -272,7 +272,6 @@ void pw_copy(int ffd, int tfd, struct passwd *pw)
|
||||
goto err;
|
||||
continue;
|
||||
}
|
||||
*p = '\0';
|
||||
if (!(p = strchr(buf, ':'))) {
|
||||
syslog(LOG_WARNING, "%s: corrupted entry", _PATH_MASTERPASSWD);
|
||||
pw_error(NULL, 0, 1);
|
||||
|
Reference in New Issue
Block a user