Results 1 to 4 of 4

Thread: only root-access to mounted drives

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Location
    Sweden
    Posts
    5

    only root-access to mounted drives

    Hi!

    I have a question which seems to me to be very simple to answer. I've spent the last hours looking in this forum, as well as kanotix.com, and linuxquestions.org- and I almost feel stupid for not having found any answer to it.

    OK, I plug in a USB-devices (I'm using a SD-card & a USB-harddrive). Then, as root, I write

    mount /dev/sda1 /mnt/sda1

    the drive gets mounted. Which I find surprising since it is not defined in fstab - it's nice, but I don't understand how it works (an explanation would be very much appreciated for the learning newbie

    The problem is that only root has access to the mounted drives. I don't know how to change this, especially since the device is not defined in fstab. Please help. Thanks in advance.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    The device is probably probed, and vfat identified as filesystem; try the '-o umask=000' option in your mount command. Or add the following entry in /etc/fstab: "/dev/sda1 /mnt/sda1 vfat users,umask=000 0 0"

  3. #3
    Junior Member
    Join Date
    Aug 2004
    Location
    Sweden
    Posts
    5
    many thanks!

    Of all the answers I've gotten on this and similar issues across different forums, this is the one tha helped; umask=000!

    I'm trying to figure out another thing now, namely how to get an icon pop up automatically on the desktop when a device is inserted. This should be possible as it happens when running from the liveCD. However, information on how to get a HD-install behave that way seems very hard to find. Any suggestions?

    Thanks again

  4. #4
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    235
    As root in a console, run this:
    Code:
    mkdesktophdicons
    This is a knoppix specific package that isn't in Debian proper, but it will create the icons on your user(s) desktop except root based on what was entered in /etc/fstab. If /etc/fstab doesn't have an entry for all of your mountpoints, then it won't create any icons for what isn't in there.

    HTH,

    Durand

Similar Threads

  1. user should umount root-mounted-drives
    By dipsy in forum General Support
    Replies: 0
    Last Post: 07-28-2005, 02:50 PM
  2. cfdisk partitions and knoppix mounted drives disagree?
    By randolphtaco in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 06-20-2005, 08:23 PM
  3. Knoppix not showing several mounted drives
    By chapium in forum Hardware & Booting
    Replies: 1
    Last Post: 04-18-2004, 03:42 PM
  4. Cant access drives
    By LukeGraham in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 07-26-2003, 06:49 AM
  5. Permissions for mounted drives
    By allantm in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 06-29-2003, 07:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


HP 2024 Newest Laptop 15.6'' Touchscreen Intel Core i3 up to 64GB RAM 2TB SSD picture

HP 2024 Newest Laptop 15.6'' Touchscreen Intel Core i3 up to 64GB RAM 2TB SSD

$435.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$21.50



Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand picture

Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand

$60.00



Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$23.33



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$14.85



HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins picture

HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins

$72.93



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96