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
  •  


CISCO MERAKI MS120-24P-HW 24-PORT GIGABIT CLOUD MANAGED PoE SWITCH - UNCLAIMED picture

CISCO MERAKI MS120-24P-HW 24-PORT GIGABIT CLOUD MANAGED PoE SWITCH - UNCLAIMED

$98.55



Cisco WS-C2960X-48FPD-L 48 V07 POE+ GE+2 10G SFP+, LAN BASE 740W w/ C2960X-Stack picture

Cisco WS-C2960X-48FPD-L 48 V07 POE+ GE+2 10G SFP+, LAN BASE 740W w/ C2960X-Stack

$110.00



Cisco Nexus 48-Port 10G SFP+ Switch N9K-93128TX w/ 9K-M12PQ 12-Port 40G QSFP picture

Cisco Nexus 48-Port 10G SFP+ Switch N9K-93128TX w/ 9K-M12PQ 12-Port 40G QSFP

$112.49



Cisco WS-C3750X-48PF-S 48 Port PoE Gigabit Switch w/ C3KX-NM-10G & Dual 1100WAC picture

Cisco WS-C3750X-48PF-S 48 Port PoE Gigabit Switch w/ C3KX-NM-10G & Dual 1100WAC

$121.88



Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture

Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850

$30.99



Cisco Nexus N3K-C3064PQ-10GX 48P 10GbE SFP+ 4P QSFP+ Switch (Fair) picture

Cisco Nexus N3K-C3064PQ-10GX 48P 10GbE SFP+ 4P QSFP+ Switch (Fair)

$85.00



🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥 picture

🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥

$6.80



Cisco Nexus N3K-C3172PQ-10GE 48P 10GbE 6P QSFP+ Switch N3K-C3172PQ-10GE picture

Cisco Nexus N3K-C3172PQ-10GE 48P 10GbE 6P QSFP+ Switch N3K-C3172PQ-10GE

$189.00



Cisco STACK-T4-3M for C9200/9200L 3M Stacking Cable New picture

Cisco STACK-T4-3M for C9200/9200L 3M Stacking Cable New

$181.57



Cisco WS-C3850-12X48U-S 48x (12x MultiGB) UPoE RJ-45 1x Mod Slot Switch, Tested picture

Cisco WS-C3850-12X48U-S 48x (12x MultiGB) UPoE RJ-45 1x Mod Slot Switch, Tested

$259.00