trying on the aforementioned intel with the aforementioned linux
distribution i get 'permission denied' errors every time i try to
access the mounted directory.

turns out that fuse sends out an extra flag, O_LARGEFILE=0x8000, which
9pfuse.c thinks it has masked. it also turns out that the two programs
involved differ over what O_LARGEFILE should be defined as:
O_LARGEFILE is 0 for 9pfuse.c (actually it was defined at compile time
as it couldn't find it in the include files)

bits/fcntl.h has the following to say (after a few spelling errors):

#ifdef __USE_LARGEFILE64
# if __WORDSIZE == 64
#  define O_LARGEFILE   0
# else
#  define O_LARGEFILE   0100000
# endif
#endif

this particular standard installation has __USE_LARGEFILE64 undefined,
and i assume that the one which the kernel was compiled on did.

i suppose i should recompile the fuse module, or fusermount or
something else... i feel a sacrifice is required.

Reply via email to