Slocate 3.1 - indexes files on your system, for searching

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

Slocate 3.1 - indexes files on your system, for searching

#1 Post by GuestToo »

Slocate 3.1

Secure locate provides a secure way to index
and quickly search for files on your system.

There are other slocate packages ... for example:
http://dotpups.de/dotpups/System_Utilities/
but that one is version 2.7

Note: this installs in my-applications/bin, where hopefully, Puppy will leave the files alone. If have another older version installed in /usr, the older version will be found first and used. You would need to uninstall the older version for the newer version to be found.
Attachments
slocate31.pup
Slocate 3.1
(27.8 KiB) Downloaded 401 times
Last edited by GuestToo on Thu 23 Nov 2006, 09:35, edited 2 times in total.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#2 Post by Lobster »

Code: Select all

sh-3.00# updatedb
updatedb: warning: Could not find the group: slocate in the /etc/group file.
updatedb: fatal error: This is a result of the group missing or a corrupted group file.
sh-3.00# 
this is what is in the corrupted group file:

Code: Select all

root:x:0:
daemon:x:1:
tty:x:2:
ppp:x:200:
users:x:500:
nobody:x:65534:
guest:x:501:
spot:x:502:spot
bin::2:root,bin,daemon
audio::17:
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#3 Post by GuestToo »

sorry, i forgot that slocate expects there to be an slocate group ... you can just type this:

tinylogin addgroup -g3 slocate

and slocate should now work

it won't work for user "spot" ... you would need to add the slocate group to spot and set up the permissions the way it tells you to do, in the readme file

i should have made the installer do it automatically

i don't remember how to add a group to a user using tinylogin ... you can just edit /etc/group and change:
spot:x:502:spot
to:
spot:x:502:spot,slocate

but you don't need to do that to run locate as root ... you need to do that to run locate as spot

Post Reply