From: Miklos S. <mi...@sz...> - 2005-11-29 07:02:56
|
> This is bacause of the daemon(0, 0); call in helper.c. > Unless the argument nochdir is non-zero, daemon() changes the current > working directory to the root ("/"). > > If this is not the desired begavior, please apply the following patch. And if you don't want to patch libfuse, there's a workaround: - before calling fuse_main() "save" the cwd by 'savefd = open(".", 0);' - in the init() method, restore cwd with 'fchdir(savefd);' Miklos |