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
  •  


LSI 9305-16i SATA SAS 12Gbs RAID Controller PCIe 3.0 x8 IT-Mode 4* 8643 SATA picture

LSI 9305-16i SATA SAS 12Gbs RAID Controller PCIe 3.0 x8 IT-Mode 4* 8643 SATA

$229.99



Dell R630 8SFF 2.4Ghz 20-Core 128GB H730 RAID 10GB RJ-45 NIC 2x750W PSU 8x Trays picture

Dell R630 8SFF 2.4Ghz 20-Core 128GB H730 RAID 10GB RJ-45 NIC 2x750W PSU 8x Trays

$455.04



Dell R740XD2 26LFF 3.6Ghz 8-C 768GB H730P MINI RAID 2x10G SFP+ NIC 2x1100W Rails picture

Dell R740XD2 26LFF 3.6Ghz 8-C 768GB H730P MINI RAID 2x10G SFP+ NIC 2x1100W Rails

$3538.08



Dell R740XD2 26LFF 3.6Ghz 8-C 256GB H730P MINI RAID 2x10G SFP+ NIC 2x1100W Rails picture

Dell R740XD2 26LFF 3.6Ghz 8-C 256GB H730P MINI RAID 2x10G SFP+ NIC 2x1100W Rails

$2802.08



Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE picture

Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE

$15.98



LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License picture

LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License

$39.95



Dell PowerEdge RAID Controller HBA330 12Gbs PCIe 3.0 SAS SATA J7TNV Low Profile picture

Dell PowerEdge RAID Controller HBA330 12Gbs PCIe 3.0 SAS SATA J7TNV Low Profile

$29.00



ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs picture

ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs

$87.99



4 Bay RAID External Hard Drive Enclosure for 2.5/3.5

4 Bay RAID External Hard Drive Enclosure for 2.5/3.5" SATA HDD/SSD

$79.99



Oracle 7332895 LSI MegaRAID 9361-16i 16-PORT 12GB SAS PCIE RAID CONTROLLER picture

Oracle 7332895 LSI MegaRAID 9361-16i 16-PORT 12GB SAS PCIE RAID CONTROLLER

$349.00