From owner-freebsd-questions Thu Feb 20 6:37:22 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8901E37B401 for ; Thu, 20 Feb 2003 06:37:20 -0800 (PST) Received: from himinbjorg.ttsg.com (wallstreet34.kickstartusa.com [65.105.161.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id A942943F3F for ; Thu, 20 Feb 2003 06:37:19 -0800 (PST) (envelope-from tuc@himinbjorg.ttsg.com) Received: (from tuc@localhost) by himinbjorg.ttsg.com (8.12.6/8.12.6) id h1KEbAa1000536 for freebsd-questions@FreeBSD.ORG; Thu, 20 Feb 2003 09:37:10 -0500 (EST) (envelope-from tuc) From: Tuc Message-Id: <200302201437.h1KEbAa1000536@himinbjorg.ttsg.com> Subject: Wrong group on touch To: freebsd-questions@FreeBSD.ORG Date: Thu, 20 Feb 2003 09:37:10 -0500 (EST) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Having an oddity in /tmp on my 4.7-STABLE....When I create files in /tmp, they have the wrong group : himinbjorg% id uid=1000(tuc) gid=1000(tuc) groups=1000(tuc), 0(wheel) himinbjorg% ls -l /tmp/tuc ls: /tmp/tuc: No such file or directory himinbjorg% touch /tmp/tuc himinbjorg% ls -l /tmp/tuc -rw-r--r-- 1 tuc wheel 0 Feb 20 09:35 /tmp/tuc himinbjorg% grep tuc /etc/passwd tuc:*:1000:1000:Tuc:/usr/home/tuc:/usr/local/bin/zsh himinbjorg% grep tuc /etc/group wheel:*:0:root,tuc tuc:*:1000: Ok, so maybe I am in the group, so lets pick another user : himinbjorg% id uid=9000(cgitest) gid=9000(cgitest) groups=9000(cgitest) himinbjorg% ls -l /tmp/cgitest ls: /tmp/cgitest: No such file or directory himinbjorg% touch /tmp/cgitest himinbjorg% ls -l /tmp/cgitest -rw-r--r-- 1 cgitest wheel 0 Feb 20 09:36 /tmp/cgitest himinbjorg% grep cgitest /etc/passwd cgitest:*:9000:9000:Tuc:/usr/home/tuc/cgitest/public_html:/usr/local/bin/zsh himinbjorg% grep cgitest /etc/group cgitest:*:9000: /tmp looks like : himinbjorg% ls -ld /tmp drwxrwxrwt 7 root wheel 1024 Feb 20 09:36 /tmp Thanks, Tuc/TTSG Internet Services, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message