On 03.12.13 09:33, Kent A. Reed wrote:
> When I added myself to the group pmount, as the man pages explicitly 
> notes must be done for Debian, I still couldn't invoke pmount as myself, 
> although I should be able to since /usr/bin/pmount has file mode bits: 
> -rwsr-xr-- [Note that I always logout and login again to ensure my 
> changes to /etc/group are picked up.]

Then perhaps the quickest workaround for the OP is to do a:

$ sudo chmod o+x /usr/bin/pmount

Then anyone can run it, and the Debian bug is avoided, admittedly at the
cost of the risk that any of the hundreds of users on his home system
could mount the flash drive as well. :^)

> As expected, I can invoke pmount as root, and if I install the sudo 
> package and add myself to the sudoers list, I can invoke 'sudo pmount' 
> whether or not I'm a member of group plugdev.

Now that's bending over backwards to let Debian off the hook - 'sudo
mount' has to be enough, as I'm sure you could tell me. (The whole point
of pmount is to save having to be in /etc/sudoers, AIUI.)

> My results suggest there is something rotten in the state of Debian.

Pretty darn convincingly, I'd say. A bug report is well warranted, I
figure.

Erik

-- 
US surgeon Alton Ochsner recalled that when he was a medical student in 1919 his
class was summoned to observe an autopsy of a lung cancer victim. At that time,
the disease was so rare it was thought unlikely the students would ever get
another chance.  - http://www.bbc.co.uk/news/magazine-20042217

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to