summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Matt Colyer2009-03-26 09:18:31 -0700
committerGravatar Matt Colyer2009-03-26 09:18:31 -0700
commit1496822b6be9857a16e8e7135c42927b8b348e0c (patch)
treea48a1c974f3f8d86b2c22529ea5cbe6f6e8fb2a0 /src
parent910f6639b54f46ee62dc0038401b1949944c00b6 (diff)
downloadifuse-1496822b6be9857a16e8e7135c42927b8b348e0c.tar.gz
ifuse-1496822b6be9857a16e8e7135c42927b8b348e0c.tar.bz2
Make automounting actually work. [#3 state:resolved]
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
-rw-r--r--src/ifuse.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b0ea5d5..17798c6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,7 @@
AM_CFLAGS = $(libglib2_CFLAGS) $(libfuse_CFLAGS) $(libiphone_CFLAGS) -g
AM_LDFLAGS = $(libglib2_LIBS) $(libfuse_LIBS) $(libiphone_LIBS)
-rootsbinexecdir = $(sbindir)
+rootsbinexecdir = /sbin
rootsbinexec_PROGRAMS = mount.fuse.ifuse
mount_fuse_ifuse_SOURCES = ifuse.c
diff --git a/src/ifuse.c b/src/ifuse.c
index f2acc78..5677cbc 100644
--- a/src/ifuse.c
+++ b/src/ifuse.c
@@ -351,6 +351,7 @@ int main(int argc, char *argv[])
if (fuse_opt_parse(&args, NULL, NULL, ifuse_opt_proc) == -1) {
return -1;
}
+ fuse_opt_add_arg(&args, "-oallow_other");
if (argc < 2) {
fprintf(stderr, "A path to the USB device must be specified\n");