Mr O wrote:
The trouble is root can do it all. I'm not looking to add an
entry to fstab unless neccessary. I tend to mount different
devices to different directories. For instance, if only one
device is plugged in it is /dev/sdb. So I may mount it to
/mnt/camera or /mnt/usb. Now, what if I plug in a second USB
device? Naturally it will be /dev/sdc so I'd mount it somewhere.
Is there an "easy" (non-GUI) way to give permission for the user
to write to those devices? I've tried to chown the folder to the
username but once the device is mounted permissions are changed
to root:root. Any other tips or tricks?

That be all,
Mr O.

Why are you avoiding /etc/fstab?  That seems to me like it
would be the best solution.

The only alternative I can think of is sudo.  No wait, there
is another.  You could suid /bin/mount to root.  I recommend
against this since it would be a security hole.  (As would
sudo if not done very carefully.)
--
Allen Brown  [EMAIL PROTECTED]  http://www.peak.org/~abrown/
  The juvenile sea squirt wanders through the sea searching for
  a suitable rock or hunk of coral to cling to and make its home
  for life.  For this task it has a rudimentary nervous system.
  When it finds its spot and takes root, it doesn't need its
  brain any more so it eats it.  It's rather like getting tenure.


--- larry price <[EMAIL PROTECTED]> wrote:


what's it listed as in /etc/mtab

it sounds like either it was mounted read only, or you need to
chmod
o+w /mnt/blah


On 4/22/06, Mr O <[EMAIL PROTECTED]> wrote:

Just what it says. How can I give a user write access to a
device under /mnt/blah? USB key? Camera? I can read and copy

but

not delete and create.

TIA,
Mr O.
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to