Author Topic: MacJanitor and Disk Utility Question-KPS or...  (Read 3806 times)

Offline Gary S

  • TS Addict
  • *****
  • Posts: 2503
    • View Profile
MacJanitor and Disk Utility Question-KPS or...
« on: September 25, 2003, 11:24:10 AM »
When ever I run my monthly schedule with MacJanitor I repair Permissions afterwards. I always get this when i repair permissions. Does anyone know what it means?

User differs on ./private/var/db/locate.database, should be 0, owner is -2
Permissions differ on ./private/var/db/locate.database, should be -rw-r--r-- , they are -r--r--r--
 

I never get it if I repair permissions when I don't run MacJanitor.  thanx.gif
Gary S

Offline kelly

  • TS Addict
  • *****
  • Posts: 17035
    • View Profile
    • http://
MacJanitor and Disk Utility Question-KPS or...
« Reply #1 on: September 25, 2003, 12:04:11 PM »
So. Don't worry about it Gary. smile.gif
kelly
Veteran SuperUser

Offline kps

  • TS Addict
  • *****
  • Posts: 1693
    • View Profile
    • http://
MacJanitor and Disk Utility Question-KPS or...
« Reply #2 on: September 25, 2003, 01:54:48 PM »
Nothing to worry about Gary...

locate is a command used in the terminal to...well locate things, it's like a find command.

My guess:
The database (.db) is where the information is stored. So when you add things and the database is updated it possibly changes to your permissions, the repair utility just puts it right.

FWIW, I get the same thing.

Offline June Drabek

  • Super Poster
  • ***
  • Posts: 176
    • View Profile
MacJanitor and Disk Utility Question-KPS or...
« Reply #3 on: September 25, 2003, 02:20:55 PM »
If I have disk warrior, why would I need MacJanitor ?

Offline gmann

  • TS Addict
  • *****
  • Posts: 649
    • View Profile
    • http://
MacJanitor and Disk Utility Question-KPS or...
« Reply #4 on: September 25, 2003, 02:56:14 PM »
I use Janitor for my nitely tune ups, but anything else including permissions I use Cocktail, which has a lot more abilities.
I also use Disk Warrior when needed.
« Last Edit: September 25, 2003, 02:57:24 PM by gmann »
Gary M
933 Mhz, 10.4.7, 1.25 Gig ram
2 Ghz, XP Pro, 2 Gig ram

Offline kps

  • TS Addict
  • *****
  • Posts: 1693
    • View Profile
    • http://
MacJanitor and Disk Utility Question-KPS or...
« Reply #5 on: September 25, 2003, 03:10:15 PM »
June,

DiskWarrior is a hard disk utility, MacJaninor runs unix maintenance scripts through a GUI. These scripts have nothing to do with the disk.

gmann,

MacJanitor and Cocktail run the identical maintenance scripts. No need to run all three daily. That's why they are called "daily", "weekly", and "monthly".
« Last Edit: September 25, 2003, 03:11:10 PM by kps »

Offline Bill

  • TS Addict
  • *****
  • Posts: 4615
    • View Profile
MacJanitor and Disk Utility Question-KPS or...
« Reply #6 on: September 25, 2003, 03:22:46 PM »
"daily" kps. Whoops .... thought it said hourly.
Guess I'd better back off using MacJanitor some. biggrin.gif
Two cans and a string powered by a big mouth

Offline Gary S

  • TS Addict
  • *****
  • Posts: 2503
    • View Profile
MacJanitor and Disk Utility Question-KPS or...
« Reply #7 on: September 25, 2003, 05:14:01 PM »
thanx.gif

Go Cubs! biggrin.gif
Gary S

Offline gmann

  • TS Addict
  • *****
  • Posts: 649
    • View Profile
    • http://
MacJanitor and Disk Utility Question-KPS or...
« Reply #8 on: September 25, 2003, 05:21:29 PM »
QUOTE(kps @ Sep 25 2003, 1:10 PM)
June,

DiskWarrior is a hard disk utility, MacJaninor runs unix maintenance scripts through a GUI. These scripts have nothing to do with the disk.

gmann,

MacJanitor and Cocktail run the identical maintenance scripts. No need to run all three daily. That's why they are called "daily", "weekly", and "monthly".

  smile.gif I only use daily on a daily basis with Janitor because it is fast and less messing around. I use Cocktail for every thing else, until it is time to use DW.
Gary M
933 Mhz, 10.4.7, 1.25 Gig ram
2 Ghz, XP Pro, 2 Gig ram

Offline kps

  • TS Addict
  • *****
  • Posts: 1693
    • View Profile
    • http://
MacJanitor and Disk Utility Question-KPS or...
« Reply #9 on: September 25, 2003, 06:23:19 PM »
gmann, you may be interested in this THREAD, which deals with eliminating the need for MacJanitor, Cocktail, etc. by changing the script run times in crontab.

Offline kps

  • TS Addict
  • *****
  • Posts: 1693
    • View Profile
    • http://
MacJanitor and Disk Utility Question-KPS or...
« Reply #10 on: September 25, 2003, 06:39:47 PM »
Check this out...

Installed the 10.2.8 update and ran permissions repair. Here's the ownership and permissions for the locate.database file:

CODE
-rw-r--r--  1 root  wheel  1900206 Sep 20 10:31 locate.database


Just now I ran the weekly script manually:

sudo periodic weekly

Here are the new ownership and permissions:

CODE
-r--r--r--   1 nobody  wheel  1904731 Sep 25 19:31 locate.database


Just for reference: root is uid 0 and nobody is uid -2 as per NetInfo Manager. So next time I run 'repair permissions', I'll get the same message on the report.

Offline June Drabek

  • Super Poster
  • ***
  • Posts: 176
    • View Profile
MacJanitor and Disk Utility Question-KPS or...
« Reply #11 on: September 25, 2003, 08:40:13 PM »
I get more  confused by the minute. As I understand it...Disk Warrior is strictly for repairing my hard disk. Mac Janitor cleans up unix files..but I don't know what unix files are...is that like my trash files ?? I have  been told that if you leave the eMac  on all night  it cleans itself up with something or other, and on the contrary, I have been told the eMac corrects things each time you shut down or start up. My mind is in a whirl. I still have not  opened the box that Disk Warrior came it, and should I try once again to download Macjanitor ?? Please spell it out for this  pesky old lady.

Offline kelly

  • TS Addict
  • *****
  • Posts: 17035
    • View Profile
    • http://
MacJanitor and Disk Utility Question-KPS or...
« Reply #12 on: September 25, 2003, 09:27:03 PM »
Hi June. smile.gif

Unix is an Operating System. Like OS 9 for macs or Windows 98.

mac OS X is a First Cousin of Unix. It has things in common.

MacJanitor does a few things to clear out some stuff.

You would be ok if you didn't bother with it.

It's a little thing. Like sweeping off the back stoop.

Really not worth worrying about it. Do it, don't do it. It's all ok.

Disk Warrior is totally different.

It's a Heavy Duty Tool for repairing Hard Drive problems.

Any clearer? smile.gif
kelly
Veteran SuperUser

Offline June Drabek

  • Super Poster
  • ***
  • Posts: 176
    • View Profile
MacJanitor and Disk Utility Question-KPS or...
« Reply #13 on: September 25, 2003, 09:46:11 PM »
Kelly...thank you. Very clear  and I have copied it down to remind my self in case I worry about it again. Now  what say you about this leaving the computer on all night to have something happen in the wee hours..like..does a maid come it,and if so, what is it she does. And if I should leave the eMac on all night, can I put it on sleep, or just let the screen saver do its job ? Also, what say you about  what I was told that each time the eMac is closed down and opened up the following day, something is in there working at these times to straighten things out ?? I am closing down now...my eyes are burning...but I will check for your reply on the morrow. Thank you for your  patience, it truly is appreciated.  June

Offline kelly

  • TS Addict
  • *****
  • Posts: 17035
    • View Profile
    • http://
MacJanitor and Disk Utility Question-KPS or...
« Reply #14 on: September 25, 2003, 09:51:19 PM »
June. Yes. The mac does check things out every time it starts up. smile.gif

I would not leave the computer on all night for this.

Waste of electricity in my opinion.

Don't know why you're having trouble Downloading/Using MacJanitor.

We'll get back to having you fix that maybe. smile.gif
kelly
Veteran SuperUser