On Nov 18, 2008, at 2:27 PM, Dominic wrote:

After I said that archfs is magical over Samba, I am now struggling to get it to work. :-[

The problem I believe is that fuse (upon which archfs depends) does not normally allow users, other than the user who created the mount, to access its filesystem. This can be overridden by mounting the filesystem with the "-oallow_other" mount option, a/c to the fuse FAQ (http://apps.sourceforge.net/mediawiki/fuse/index.php?title=FAQ#Why_don.27t_other_users_have_access_to_the_mounted_filesystem.3F ), but when I try to specify this on the archfs command line it is rejected with 'Error: no such option; see man archfs' (which incidentally does not exist).

You're right -- archfs does not pass options on to the underlying fuse system. It really should.

Here's a quick fix for you:

In archfs.c, around line 27, change:

    args[2] = "-d";

    return fuse_main(2, args, &operations, NULL);

to:

    args[2] = "-d";
    args[3] = strdup("-oallow_other");

    return fuse_main(3, args, &operations, NULL);

If that doesn't work, change the first argument of fuse_main from 3 to 4. (I'm not sure what argc is supposed to be there ...)


Andrew


_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to