The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   UNIX - General (http://hintsforums.macworld.com/forumdisplay.php?f=16)
-   -   Database Problems (http://hintsforums.macworld.com/showthread.php?t=46929)

schwartze 11-08-2005 06:06 PM

My temp owner is root admin...

Code:

monkey:~ eric$ ls -ld /private/tmp
drwxrwxrwt  14 root  wheel  476 Nov  8 18:04 /private/tmp
monkey:~ eric$ ls -ld /tmp       
lrwxr-xr-x  1 root  admin  11 Apr 29  2005 /tmp -> private/tmp
monkey:~ eric$


hayne 11-08-2005 06:32 PM

Quote:

Originally Posted by lolajl
Turns out to have been a permission problem on /tmp.

I think it is more than a mere permission problem. Looking back at a previous post I see that you said:
Quote:

Originally Posted by lolaji in post#4
[04:49 PM] ~ 2 $ ls -ld /tmp
drwxr-xr-x 42 lolajl staff 1428 Nov 3 16:45 /tmp
[04:50 PM] ~ 3 $ ls -ld /private/tmp
drwxrwxrwt 2 root wheel 68 Nov 3 16:46 /private/tmp

I didn't notice at the time but the first result is not good.
As I pointed out much earlier (in the other thread that I referred to), the folder "/tmp" is supposed to be a symbolic link to "/private/tmp" - it isn't supposed to be an actual folder.
Thus the correct results should look like this:
Code:

% ls -ld /tmp
lrwxr-xr-x  1 root  admin  11 Apr 30  2005 /tmp -> private/tmp

% ls -ld /private/tmp
drwxrwxrwt  11 root  wheel  374 Nov  8 09:28 /private/tmp

If you have an actual folder at /tmp instead of the symbolic link to /private/tmp then you will need to remove this whole folder (with 'rm -rf') and then recreate the symbolic link (with 'ln -s')
See the detailed instructions in this old thread:
http://forums.macosxhints.com/showthread.php?t=22763

lolajl 11-08-2005 06:55 PM

As I suspected, the mysql problems are fixed as well.

lolajl 11-08-2005 06:58 PM

Quote:

Originally Posted by hayne
If you have an actual folder at /tmp instead of the symbolic link to /private/tmp then you will need to remove this whole folder (with 'rm -rf') and then recreate the symbolic link (with 'ln -s')
See the detailed instructions in this old thread:
http://forums.macosxhints.com/showthread.php?t=22763

Will do so . . . thanks!

lolajl 11-08-2005 07:05 PM

By the way, should I remove everything in /tmp before making the changes as outlined in the thread? Checked and am seeing "tmp -> /private/tmp" within /tmp which of course is not the correct location.

lolajl 11-08-2005 08:58 PM

Okay, fixed the link to /tmp and all is well and good now . . . thanks!


All times are GMT -5. The time now is 05:57 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.