Re: No Locate for User

Peter
2005-04-26T08:27:07Z

On Tue, 26 Apr 2005 00:44:42 -0700
Greg Olszewski <noop@nwonknu.org> wrote:

> /usr is mounted *without* nosuid, no?
/usr is 755 and not mounted separately.
>
> "cat /proc/mounts | grep '/usr'"

cat /proc/mounts | grep '/usr'
/dev/hda9 /usr/local reiserfs rw 0 0

> and
> "cat /proc/mounts | grep ' / '"

cat /proc/mounts | grep ' / '
rootfs / rootfs rw 0 0 /dev/root / reiserfs rw 0 0

> what does 'ls -ld /var/lib/slocate' say?

drwxr-x--- 2 heisspf root 80 2005-04-26 11:42 /var/lib/slocate

> does 'chmod 750 /var/lib/slocate/' or 'chown root:slocate
> /var/lib/slocate' help (if it isn't rwxr-x--- root slocate already)?

ls -l /var/lib/slocate/
total 4180
-rw-r----- 1 root slocate 4278159 2005-04-26 11:42 slocate.db

ls -ld /var/lib/slocate
drwxr-x--- 2 heisspf root 80 2005-04-26 11:42 /var/lib/slocate

No
Yes it is

>
> If not, what does 'slocate -V' say?

Secure Locate 2.7 - Released January 24, 2003

> How about
> 'ls -ld /var'

drwxr-x--- 2 heisspf root 80 2005-04-26 11:42 /var/lib/slocate

In /etc/group
slocate:x:21:users
I added users

> 'ls -ld /var/lib'

drwx------ 24 root users 608 2005-03-21 09:43 /var/lib

---snip---

> -greg
>

Permission is still denied.

Thanks