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

2013-12-23 Thread kalanga
After mounting the card, run chown to set the mmc root directory (/media/whatever) owner to your regular user. AFAIK, unixy filesystems such as ext3 cannot be told to ignore user permissions. Yes! This worked. I think LXDE was acting appropriately given that the mmc card was formated ext3

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

2013-12-22 Thread Scott Ferguson
On 22/12/13 18:41, kalanga wrote: On Sat, 21 Dec 2013 11:41:21 -0700 Bob Proulx b...@proulx.com wrote: snipped There is no entry for /dev/mmcblk01p1 in fstab. 2) If nothing like the above /etc/fstab entry exists then some desktop session daemon is automatically mounting the media for

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

2013-12-22 Thread Marko Randjelovic
On Fri, 20 Dec 2013 22:39:32 -0700 Lawrence Galka kala...@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

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

2013-12-22 Thread D.E. Bil
On Sun, Dec 22, 2013 at 12:39:20PM +0100, Marko Randjelovic wrote: On Fri, 20 Dec 2013 22:39:32 -0700 Lawrence Galka kala...@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

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

2013-12-22 Thread Bob Proulx
kalanga wrote: There is no entry for /dev/mmcblk01p1 in fstab. ... How do I find out which daemon is mounting the card? Good question! That is very open ended. It literally could be anything that someone has written and who is the say the limits to someone's creativity? I will start the

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

2013-12-22 Thread Joe
On Sun, 22 Dec 2013 12:59:04 -0700 Bob Proulx b...@proulx.com wrote: You said LXDE. I don't know and was hoping someone else who knew better about LXDE would say if gnome-volume-manager was being used there or not. Often XFCE and LXDE use some components from GNOME and this seems likely

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

2013-12-22 Thread kalanga
I don't know about GNOME. But you 'might' get some information with:- # grep mmc /var/log/messages Also try the following for clues *after* device is plugged in:- $ mount | grep mmc e.g. to find what mounted a removable USB flash device labelled 5CB5-7511 $ mount | grep -i 5cb5

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

2013-12-22 Thread kalanga
I will start the guessing by asking about gnome-volume-manager because no one else suggested anything better. :-) Do you have it installed? dpkg -l gnome-volume-manager Apparently it is not installed. I get no packages found matching gnome-volume-manager While changing media: tail

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

2013-12-22 Thread kalanga
I did try to put an entry in fstab with a user option but it did not work. I created a directory /mnt/mmc and tried to mount /dev/mmcblk0p1 as ext3 with user option. Nothing changed. Still mounted at /media/blah with root owner. Could not write to it as non-root user. Thanks -- To

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

2013-12-22 Thread Kushal Kumaran
kalanga kala...@gmail.com writes: I will start the guessing by asking about gnome-volume-manager because no one else suggested anything better. :-) Do you have it installed? dpkg -l gnome-volume-manager Apparently it is not installed. I get no packages found matching

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

2013-12-22 Thread kalanga
Or use pmount: $ pmount /dev/mmcblk0p1 (do your thing) $ pumount /dev/mmcblk0p1 I tried this as non-root and it mounted the mmc at /mount/mmcblk0p1. However, it was still owned by root and there were no write permissions for other users. When I tried to copy a file to it as non-root it

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

2013-12-21 Thread Bob Proulx
Lawrence Galka 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

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

2013-12-21 Thread kalanga
On Sat, 21 Dec 2013 11:41:21 -0700 Bob Proulx b...@proulx.com wrote: Question. There are (at least) two different ways to mount removable media. 1) Is there an entry in /etc/fstab for it? If so does it have the user flag on it? Here is a typical entry for a cdrom showing the user

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

2013-12-20 Thread Lawrence Galka
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