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

Re: How do I mount mmc card so that a non-root user has write access?



On Sun, Dec 22, 2013 at 12:39:20PM +0100, Marko Randjelovic wrote:
> On Fri, 20 Dec 2013 22:39:32 -0700
> Lawrence Galka <kalanga@gmail.com> wrote:
> 
> > I am running debian wheezy with the lxde desktop environment.  When I
> > insert a mmc card,  it gets detected as /dev/mmcblk0p1 and mounted in
> > /media/<blah>.  Unfortunately, the /media/<blah> directory is owned by root
> > and other users do not have write permission. When I try to copy files to
> > this card it throws a permissions error. How do I configure the system to
> > allow a non-root user to insert a mmc card and obtain write access to the
> > mmc?
> 
> Take a look at mount man page for mount options you can use. You have
> general options and filesystem specific options (most probably vfat).

Or use pmount:

$ pmount /dev/mmcblk0p1
(do your thing)
$ pumount /dev/mmcblk0p1

-- 
debil
:wq


Reply to: