[1189] in NetBSD-Development
discuss
daemon@ATHENA.MIT.EDU (bdrosen@MIT.EDU)
Wed Jan 10 02:56:07 1996
From: bdrosen@MIT.EDU
To: netbsd-dev@MIT.EDU
Reply-To: bdrosen@MIT.EDU
Date: Wed, 10 Jan 1996 02:55:37 EST
In the sipb-athena sources,
discuss/server/acl_core.c
appears to have a bug in it.
In locked_open_mtg :
if((*lockfd = open(mtg_name, O_RDWR, 0700)) < 0) {
result = errno;
goto punt;
causes a problem.
This tries to open a dir RDWR which causes open to
return EISDIR and causes setting acls in discuss to
fail with :
Can't set access for bdrosen@ATHENA.MIT.EDU: Is a directory
the main discuss sources have this as :
if((*lockfd = open(mtg_name, O_RDONLY, 0700)) < 0) {
result = errno;
goto punt;
Is there a reason for this deviation?
(changing the code fixed the problem with setting acls)
Brett