Is there a command (on Debian Wheezy) that a testuser
that belongs only to the group testuser
can run (maybe he needs to be listed in sudoers first) in order to mount a USB stick as if he belonged to the group plugdev
or floppy
?. So he can't access the mounted USB stick directly (since he is not in plugdev/floppy
) but could cp
to it (if he is in sudoers and can run cp
as a floppy
group member).
Maybe there is a way to realize it using regular mount and sudoers? Can a user mount a device as another user (member of another group) without having access to the device?
cp
to [the USB stick]” but not “access the mounted USB stick”?