From 1496822b6be9857a16e8e7135c42927b8b348e0c Mon Sep 17 00:00:00 2001 From: Matt Colyer Date: Thu, 26 Mar 2009 09:18:31 -0700 Subject: Make automounting actually work. [#3 state:resolved] --- src/Makefile.am | 2 +- src/ifuse.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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"); -- cgit v1.1-32-gdbae