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
  •  


ORICO 5 Bay Raid Enclosure USB3.0 SATA External Hard Drive Enclosure Up to 80TB picture

ORICO 5 Bay Raid Enclosure USB3.0 SATA External Hard Drive Enclosure Up to 80TB

$115.59



Dell EMC 092GD6 Broadcom 9305-16i LSI Quad Port 4 Port SAS RAID Controller picture

Dell EMC 092GD6 Broadcom 9305-16i LSI Quad Port 4 Port SAS RAID Controller

$84.99



Oracle MegaRAID SAS9361-16i 16-Port 12Gb/s PCIe SAS RAID Controller P/N: 7332895 picture

Oracle MegaRAID SAS9361-16i 16-Port 12Gb/s PCIe SAS RAID Controller P/N: 7332895

$149.99



ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT picture

ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT

$140.79



ASUS Hyper M.2 x16 Gen 4 RAID Card- Used Working picture

ASUS Hyper M.2 x16 Gen 4 RAID Card- Used Working

$32.95



Dell PERC H330 PCIe 3.0 x8 RAID Storage Controller 4Y5H1 High Profile picture

Dell PERC H330 PCIe 3.0 x8 RAID Storage Controller 4Y5H1 High Profile

$17.99



ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID picture

ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID

$54.66



OWC ThunderBay 4 TB3 RAID 4-bay 2.5

OWC ThunderBay 4 TB3 RAID 4-bay 2.5" Enclosure

$187.00



OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire picture

OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire

$36.99



CompUSA Internal 2 Bay Removable Rack for 3 SATA Hard Drives Raid Configurations picture

CompUSA Internal 2 Bay Removable Rack for 3 SATA Hard Drives Raid Configurations

$25.00