Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2000 15:18:06 +0100
From:      John Murphy <bigotfo@bigfoot.com>
To:        questions@freebsd.org
Subject:   Re: TkDesk will not start as normal user
Message-ID:  <k6CWOfZw3KRPLjeltamBZVcSruni@4ax.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?k6CWOfZw3KRPLjeltamBZVcSruni>