Date: Sat, 12 Aug 2000 23:10:27 +0100 From: John Murphy <bigotfo@bigfoot.com> To: questions@freebsd.org Subject: TkDesk will not start as normal user Message-ID: <AsmVOYviHBc0qtX6%2B2azVveOxvx6@4ax.com>
next in thread | raw e-mail | index | archive | help
=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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AsmVOYviHBc0qtX6%2B2azVveOxvx6>