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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to