From: Peter <heisspf@skyinet.net>
To: Greg Olszewski <noop@nwonknu.org>
Cc: linux-newbie@vger.kernel.org
Subject: Re: No Locate for User
Date: Tue, 26 Apr 2005 16:27:07 +0800 [thread overview]
Message-ID: <20050426162707.2c0e960b@skyinet.net> (raw)
In-Reply-To: <426DF16A.4030505@nwonknu.org>
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
--
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2005-04-26 8:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-25 4:27 No Locate for User Peter H.
2005-04-25 5:06 ` Ray Olszewski
2005-04-25 8:11 ` Peter
2005-04-25 16:40 ` Ray Olszewski
2005-04-26 4:18 ` Peter
2005-04-26 5:42 ` Greg Olszewski
2005-04-26 7:29 ` Peter
2005-04-26 7:44 ` Greg Olszewski
2005-04-26 8:27 ` Peter [this message]
2005-04-26 8:41 ` Greg Olszewski
2005-04-26 9:11 ` Peter
2005-04-26 11:53 ` chuck
2005-04-26 11:37 ` chuck
2005-04-25 8:33 ` Peter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050426162707.2c0e960b@skyinet.net \
--to=heisspf@skyinet.net \
--cc=linux-newbie@vger.kernel.org \
--cc=noop@nwonknu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.