Please disregard the patch src-vfile.c.patch and use the src-opendir.patch. This should fix the problem when a user attempts to opendir(3) a directory that they don't have permission to examine.

<verbatim>% cd
% mkdir fs-test
% cd fs-test/
% fs open
% fs open
test.sh
project-name: <unnamed>
repository:
local-root:
project-code:
server-code:
checkout:     2011-02-08 22:17:00 UTC
parent:       2011-02-08 16:31:20 UTC
tags:         trunk
comment:      Updating test (user: sean)
% ll
total 24
-rw-r--r--  1 sean  wheel  7168 Feb 16 10:58 _FOSSIL_
-rwxr-xr-x  1 sean  wheel    29 Feb 16 10:58 test.sh
% mkdir enoperm
% sudo chmod 700 enoperm
Password:
% sudo chown root:wheel enoperm
% sudo touch enoperm/...
% fs stat
repository:
local-root:
server-code:
checkout:     2011-02-08 22:17:00 UTC
parent:       2011-02-08 16:31:20 UTC
tags:         trunk
comment:      Updating test (user: sean)
% fs extra
Segmentation fault
Exit 139
# test after patch
% stat
repository:
local-root:
server-code:
checkout:     2011-02-08 22:17:00 UTC
parent:       2011-02-08 16:31:20 UTC
tags:         trunk
comment:      Updating test (user: sean)
% extra
%
</verbatim>

Thanks. -sc