Date: Thu, 28 Mar 2002 04:31:34 -0500 (EST) From: Richard Glidden <richard@glidden.org> To: Stas Kysel <stas_k_freebsd@tiger.unisquad.com> Cc: freebsd-questions@freebsd.org Subject: Re: Locate database not finding all files accessible by nobody Message-ID: <20020328041835.C416-100000@charon.acheron.localnet> In-Reply-To: <20020327110038.A14725@tiger.unisquad.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 27 Mar 2002, Stas Kysel wrote: > Recently I met the same trouble and was searching maillists to find > solution. Unfortunately, your question was not answered. Finally, I found > what was happening in my case, and probably this will help you or > more probably somebody else. Thank you very much for your response! I still hadn't found the time to track down the problem, but your message pointed me in the right direction. > 2. mode of /old looked like 755 when /old was mounted, but permissins > were a bit strange: > a. find, if run as non-root, was able to chdir to /old, but was not able > to chdir back to ".." (probably because of no "r" in 700) > b. non-root shell behaved the same way: can chdir to /old, cant chdir > back to ".." I never tried to "cd .." from the directory that I was having problems in. I figured if I could get in to the directory and do an "ls" as nobody, that would be enough for locate to do its thing. When I tried "cd .." though, I was having the same problem. The /home mountpoint was 700, but when mounted, /home was 755. Unmounting /home and fixing the permissions of the mount point got locate working again. Thanks! - Richard Glidden richard@glidden.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020328041835.C416-100000>