From owner-freebsd-questions Sun Aug 13 7:18:28 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 C09A737B7A6 for ; Sun, 13 Aug 2000 07:18:23 -0700 (PDT) (envelope-from bigotfo@bigfoot.com) Received: from lexx.my.domain (dyn78-ras6.screaming.net [212.49.229.78]) by smtp.screaming.net (8.9.3/8.9.3) with SMTP id OAA16286 for ; Sun, 13 Aug 2000 14:20:57 GMT From: John Murphy To: questions@freebsd.org Subject: Re: TkDesk will not start as normal user Date: Sun, 13 Aug 2000 15:18:06 +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 Crist J. Clark wrote: >On Sat, Aug 12, 2000 at 11:10:27PM +0100, John Murphy wrote: >> FreeBSD-4.1 Release, XFree86-4.0.1, TkDesk-1.2 pkg. >>=20 >> 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) > >Try doing in by logging is as john rather than su'ing from root. You >might have some messed up environmental variables after a su. > >And just to be sure, what does, > > % ls -lL /tmp > >Return? # ls -lL /tmp total 5 drwxrwxrwt 2 root wheel 512 Aug 12 22:20 .X11-unix drwxr-xr-x 2 john wheel 512 Aug 12 19:42 test drwxr-xr-x 2 root wheel 512 Aug 12 21:08 tkdesk1007 drwxr-xr-x 2 root wheel 512 Aug 12 19:57 tkdesk659 drwxr-xr-x 2 root wheel 512 Aug 12 20:11 tkdesk773 The last 3 are empty and were created by starting tkdesk as root. Mark Ovens wrote: >One thing to check; does /usr/tmp have the sticky bit set? > > # ls -ld /usr/tmp > drwxrwxrwt 13 root wheel 2560 13 Aug 10:40 /usr/tmp > ^ Yes, it seems to be set: drwxrwxrwt 7 root wheel 512 Aug 13 14:31 /usr/tmp /tmp itself is only lrwxr-xr-x but I'm sure that doesn't matter. I think I'll make the port and see if it's the same. Thanks for the help. Much appreciated. John. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message