From owner-freebsd-questions Sun Jan 10 14:23:50 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA21893 for freebsd-questions-outgoing; Sun, 10 Jan 1999 14:23:50 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pc116s119r1.jancomulti.com (pc116s119r1.jancomulti.com [195.139.119.116]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA21888 for ; Sun, 10 Jan 1999 14:23:48 -0800 (PST) (envelope-from paalsom@ifi.uio.no) Received: from ifi.uio.no (localhost [127.0.0.1]) by pc116s119r1.jancomulti.com (8.8.8/8.8.8) with ESMTP id XAA01383 for ; Sun, 10 Jan 1999 23:20:22 +0100 (CET) (envelope-from paalsom@ifi.uio.no) Message-ID: <369927A6.2AE2A1F@ifi.uio.no> Date: Sun, 10 Jan 1999 23:20:22 +0100 From: "Pål Sommerhein" X-Mailer: Mozilla 4.07 [en] (X11; I; FreeBSD 2.2.8-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Correct permissions for /var and /var/tmp? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi I wonder what are the correct permissions for the /var and /var/tmp directories? I have the following at present: lrwxrwxrwx 1 root wheel 8 10 jan 16:41 /var -> /usr/var drwxr-xr-x 18 root wheel 512 10 jan 16:28 var drwxrwxrwt 3 bin bin 512 10 jan 22:12 tmp Background for this: ------------------- I had to change the permission for /var/tmp from (drwxr-xr-t) to (drwxrwxrwt) in order to get my keyboard working properly while using XFree86333 for regular users. XFree86 gave me the following error message: The XKEYBOARD keymap compiler (xkbcomp) reports: >Error: Cannot open "/var/tmp/server-0.xkm to write keyboard description > Exiting Couldn't load XKB keymap, falling back to pre-XKB keymap. The root user does not get this message when starting X. I am running a fresh 2.2.8-RELEASE with XFree86 version 3.3.3. Any help appreciated. Best regards, Paal Sommerhein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message