Comments (7)
I cannot reproduce this with FUSE 2.9.3 and sshfs 2.5. There is no error from ls, and the file shows up again after about 10 seconds. Could you try to reproduce with the newest versions? Also, (to simplify things) can you try to reproduce with exampeles/fusexmp_fh
as well?
from libfuse.
Hi,
For what it's worth:
local> mkdir empty; cd empty; sshfs localhost:empty /mnt
remote> cd /mnt
remote> touch pan
local> rm pan
remote> touch pan
touch: cannot touch βpanβ: No such file or directory
remote> ls
remote> touch pan
remote> ls
pan
fuse: kernel api 7.23
debian jessie 8
fuse: 2.9.3
fusermount: 2.9.3
linux 4.4.11
sshfs: 2.5
using FUSE kernel interface version 7.19
from libfuse.
@d-a-v There's no bug in what you've showed. touch
may fail with ENOENT even on a local file system without using FUSE. This is because touch
needs to issue two different system calls (for creating the file or/and for changing its timestamps), and the file may be deleted (or created) in between those two syscalls. The time window for this race condition is just a lot shorter when there's no sshfs involved (so you're unlikely to see this in practice).
from libfuse.
I understand.
However, even if this is unrelated, this is quite strange that:
sleep 10; touch pan
written after the other console's rm
returns a 'no such file'. (a sleep 60
instead is ok).
I won't further interfere on this bug :)
from libfuse.
Can't reproduce it using example/fusexmp_fh from libfuse 2.9.7, but issue is still there when I try with libfuse2.9.7+sshfs 2.7
from libfuse.
In other words, this is an sshfs bug. Or am I missing something?
from libfuse.
I'm closing this now, since it seems to be a problem with sshfs rather than libfuse.
from libfuse.
Related Issues (20)
- hello_ll example crashes on getxattr() for directory HOT 1
- passthrough_hp: xfstests generic/477 triggers AddressSanitizer: heap-buffer-overflow HOT 2
- Skip permission check of directory for decreasing invocation of getattr ? HOT 1
- Will fuse mount file system content visible in s3 bucket?.
- Enable use of an existing fuse connection HOT 5
- Makefile or meson ? HOT 1
- Question about inode invalidation when FUSE_CAP_WRITEBACK_CACHE is enabled HOT 3
- Support "create" request extensions
- centos7 build lubfuse 3.13.0 eriir HOT 1
- Add support for kernel flag FUSE_HAS_EXPIRE_ONLY
- Does fuse/cuse support simulate mmap behavior like v4l2 device?
- How does libfuse ensure that fuse init will be processed first?
- commit c9905341ea34 ("Pass FUSE_PARALLEL_DIROPS to kernel (#861)") breaks backward comatibility HOT 5
- test/test_write_cache.c has test issues
- random failures of example/notify_inval_inode.c: HOT 1
- FUSE_CAP_HANDLE_KILLPRIV setting is missing when init HOT 10
- 3.16.2: test suite fails HOT 4
- Bind mounts of stale FUSE file systems remain despite auto_unmount HOT 8
- After PR 892 building libfuse fails with `error: unknown type name 'loff_t'; did you mean 'off_t'?` HOT 4
- example/poll.c triggers "Invalid read of size 4" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libfuse.