public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Walter Dnes" <waltdnes@waltdnes.org>
To: Gentoo Users List <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] Regular user can't mount/unmount mtpfs; root is OK
Date: Thu, 24 Jul 2014 00:59:34 -0400	[thread overview]
Message-ID: <20140724045934.GA8107@waltdnes.org> (raw)

  I sent this a day or 2 ago, but it doesn't show up on the list for me.
Apologies to anyone seeing a duplicate.

  I'm a total noobie at mtpfs/FUSE.  My "excellent adventure" started
yesterday when I got a clearout 7" tablet, and took a sample photo, and
tried mounting the tablet... no /dev/sdb to be found anywhere.  I went
to "Mr. Google" for help, and found out that MTP is the "new and
improved" way of doing things.  So I installed mtpfs.  It works great
for root, but a regular user can't mount the tablet.  The mtpfs command
immediately returns to the command prompt, with no error message or any
other info.  The tablet is not mounted...

[d531][waltdnes][~] mtpfs ~/tablet 
[d531][waltdnes][~]

  Before anyone asks...

1) Yes, I have enabled FUSE in the kernel.  At first I hadn't, but I got
a big red warning when I tried compiling mtpfs.  I tweaked and rebuilt
the kernel, and rebooted, then built mtpfs.

2) Yes, I am a member of plugdev...

[d531][root][~] grep plugdev /etc/group
plugdev:x:247:waltdnes,user2

3) This PC uses mdev rather than udev.  Could that be the problem?

  I've figured out a kludge to get around it.  This involves issuing a
few commands as root.  I've added them into a file in /etc/sudoers.d/
but I'd really rather prefer a cleaner solution.

[d531][root][~] mtpfs -o allow_other /home/waltdnes/tablet
Device 0 (VID=0bb4 and PID=2008) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
Android device detected, assigning default bug flags

   When I was finished, I tried...

[d531][waltdnes][~] fusermount -u tablet
fusermount: entry for /home/waltdnes/tablet not found in /etc/mtab

  I had to unmount as root...

[d531][root][~] fusermount -u /home/waltdnes/tablet

  I experienced similar problems with simple-mtpfs, so that's not a
solution either.  Any ideas?

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


             reply	other threads:[~2014-07-24 22:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-24  4:59 Walter Dnes [this message]
2014-07-25  3:49 ` [gentoo-user] Re: Regular user can't mount/unmount mtpfs; root is OK walt
2014-07-25  4:58   ` Mark David Dumlao
2014-07-25  5:07 ` [gentoo-user] " Samuli Suominen
2014-07-25  6:36   ` Walter Dnes
2014-07-25  9:35     ` Samuli Suominen
2014-07-25  9:47       ` Samuli Suominen
  -- strict thread matches above, loose matches on Subject: below --
2014-07-22 22:23 Walter Dnes
2014-07-24 22:52 ` Neil Bothwick
2014-07-24 23:29   ` Walter Dnes
2014-07-24 23:34     ` Neil Bothwick
2014-07-25  9:36     ` Mick
2014-07-25  7:03   ` Helmut Jarausch
2014-07-26 11:56   ` Dark Templar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140724045934.GA8107@waltdnes.org \
    --to=waltdnes@waltdnes.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox