rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Samba and archfs / fuse


From: Andrew Ferguson
Subject: Re: [rdiff-backup-users] Samba and archfs / fuse
Date: Tue, 18 Nov 2008 19:26:00 -0500


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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]