I'm using fuse 2.6.3 on kernel 2.6.20 (the Fedora Core 6 kernel
"2.6.20-1.2933.fc6PAE" to be specific). When mounting over NFS, and
exercising the mount pretty heavily, I can cause the client to get an
incorrect EACCES when performing an action that creates a new item in
a directory (creating a symlink or a file). The directory permissions
should allow that creation.
The easiest way to duplicate this is to run the regular fusexmp_fh and
NFS export the result. NFS mount that filesystem on a different
machine, and run the attached Python program on the NFS client:
python nfs_lifecycle_test.py /path/to/the/nfs/mount > log.txt
This may take a while (it takes around 10-30 minutes for me), but
eventually you should get an error something like this:
AssertionError: Thread Error: [[Errno 13] Permission denied:
i.e. it tried to create "file_1091_Thread_6", but got EACCES instead.
Examining the parent directories shows no obvious reason for an
Note, FWIW, that I have tested this running as root on the client, and
export the filesystem with no_root_squash set.
Get latest updates about Open Source Projects, Conferences and News.