Date: Sat, 11 Mar 2000 01:20:35 -0800 (PST) From: odip@bionet.nsc.ru To: freebsd-gnats-submit@FreeBSD.org Subject: ports/17314: in samba: testparm incorrectly generate warning Message-ID: <200003110920.BAA63480@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 17314 >Category: ports >Synopsis: in samba: testparm incorrectly generate warning >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 11 01:30:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: Dmitry Grigorovich >Release: 3.4-RELEASE >Organization: ICiG >Environment: FreeBSD comp1.bionet.nsc.ru 3.4-RELEASE FreeBSD 3.4-RELEASE #0: Tue Mar 7 05:21 :38 NOVT 2000 root@comp1.bionet.nsc.ru:/usr/src/sys/compile/ODIP i386 >Description: Run testparm from samba, which testing your configuration. testparm incorrectly generate next warning: WARNING: lock directory /var/spool/lock should have permissions 0755 for browsing to work Showing permissions for lock directory: ls -ld /var/spool/lock/ drwxrwxr-x 2 uucp dialer 512 Mar 11 15:14 /var/spool/lock/ Oh! Directory have permissions 0775 , which is enough !!! >How-To-Repeat: Install port of samba Run testparm You see next warning: WARNING: lock directory /var/spool/lock should have permissions 0755 for browsing to work >Fix: Apply next patch: --- utils/testparm.c.orig Wed Oct 13 12:27:03 1999 +++ utils/testparm.c Tue Feb 22 19:06:07 2000 @@ -69,8 +69,8 @@ printf("ERROR: lock directory %s does not exist\n", lp_lockdir()); ret = 1; - } else if ((st.st_mode & 0777) != 0755) { - printf("WARNING: lock directory %s should have permissions 0755 for browsing to work\n", + } else if ((st.st_mode & 0755) != 0755) { + printf("WARNING: lock directory %s should have at least permissions 0755 for browsing to work\n", lp_lockdir()); ret = 1; } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003110920.BAA63480>