GNOME Bugzilla – Bug 762596
Can't cd into root of rofiles-fuse mount
Last modified: 2016-02-24 19:45:19 UTC
I can't chdir into the root of the mount: $ mkdir x $ mkdir x/y $ mkdir z $ rofiles-fuse x z $ cd z bash: cd: z: No such file or directory $ cd z/y $ cd .. bash: cd: ..: No such file or directory $ cd ../.. Here is the syscall failure: 23483 stat("/home/alex/x/z", {st_mode=S_IFDIR|0755, st_size=6, ...}) = 0 23483 chdir("/home/alex/x/z") = -1 ENOENT (No such file or directory) Not sure whats causing the failure.
Created attachment 322227 [details] [review] rofiles-fuse: Handle operations on the root ENSURE_RELPATH breaks when path is "/". In that case we need to return "." instead of "".
Figured it out...
Review of attachment 322227 [details] [review]: LGTM.
Attachment 322227 [details] pushed as 6c285d2 - rofiles-fuse: Handle operations on the root