From owner-freebsd-questions Sat Aug 12 15:10:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.screaming.net (smtp.screaming.net [212.49.224.20]) by hub.freebsd.org (Postfix) with ESMTP id 4DE9237B804 for ; Sat, 12 Aug 2000 15:10:43 -0700 (PDT) (envelope-from bigotfo@bigfoot.com) Received: from lexx.my.domain (dyn234-ras12.screaming.net [212.49.235.234]) by smtp.screaming.net (8.9.3/8.9.3) with SMTP id WAA20064 for ; Sat, 12 Aug 2000 22:13:16 GMT From: John Murphy To: questions@freebsd.org Subject: TkDesk will not start as normal user Date: Sat, 12 Aug 2000 23:10:27 +0100 Organization: The Organisation Reply-To: bigotfo@bigfoot.com Message-ID: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG =46reeBSD-4.1 Release, XFree86-4.0.1, TkDesk-1.2 pkg. I thought I'd be able to work this one out, but my investigations seem only to deepen my confusion. TkDesk starts fine if started by root, but as user john (wheel & network) no go. As root or as john su'd it creates a directory in /tmp as tkdeskPID where PID is the number of the tkdesk process. (/tmp is a symbolic link to /usr/tmp) User john can create a directory in /tmp but the owner is john whereas the directory is created as owned by root whenever TkDesk works. The message is (with tkdesk -debug): TkDesk: Couldn't create temp dir /tmp/tkdesk1105 TkDesk: errmsg: couldn't create error file for command: permission denied TkDesk: Exiting Then I really got confused when I went to /var/db/pkg/tkdesk-1.2 114.chucky /var/db/pkg/tkdesk-1.2 # ll total 47 -rw-r--r-- 1 root wheel 59 Jul 20 15:31 +COMMENT -rw-r--r-- 1 root wheel 45797 Aug 3 02:37 +CONTENTS -rw-r--r-- 1 root wheel 148 Jul 20 15:31 +DESC # vi +COMMENT ~ ~ ~ etc /tmp/vi.PUZx0d1063: new file: line 1 ZZ'd out of there. Same effect with ee and yet: # cat +COMMENT A graphical, highly configurable and powerful file manager # whoami root I always feel I've lost it when I ask my computer whoami! TIA root. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message