Skip to main content.
home | support | download

Back to List Archive

Re: Odd problem with Linux extfs (Fedora)

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Mon Jun 20 2005 - 16:38:19 GMT
On Mon, Jun 20, 2005 at 08:32:52AM -0700, Thomas R. Bruce wrote:
> Ordinarily, this works fine, and has for years.  Now I've created a new, 
> linked structure of this kind, and it doesn't work at all.  Indexing via 
> the "real" path (/var/www/html/anncon) works fine; indexing via the 
> symlink doesn't-- it acts as though there are no files in the target 
> directory (or that it can't access them).   The only difference seems to 
> be that (for reasons we're still investigating) the I 
> extended-filesystem attribute is set on this symlink but not on any of 
> the other similar symlinks associated with other projects (these similar 
> setups all work fine, just as they always have).  Stracing swish-e is 
> unhelpful; a call to lstat on the symlink seems to succeed fine.

All swish does is check if a directory or file is a symlink with
lstat and that you have FollowSymLinks enabled.  It will silently
skip those if not enabled.

So the simple test would be to modify fs.c and print a warning when
it's skipped.  It's tested in a few places, so keep that in mind.

-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Mon Jun 20 09:38:20 2005