Announcement

Collapse
No announcement yet.

External ext3 hdd automounting as root

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    External ext3 hdd automounting as root

    Hi there,

    I have an external 320G hdd with an ext3 partition that auto mounts as root whenever I plug it in, so I can't write to it (without becoming root) . I am able to mount it manually as a normal user and use it, but I want to be able to just plug it in and go. I also have an 80G drive with 2 ext3 partitions that auto mount as a normal user whenever plugged in and my flash drives all mount as a normal user as well.

    Any thoughts?

    Thanks.


    #2
    Re: External ext3 hdd automounting as root

    Obviously, there must be some difference in your setup of the large vs. the smaller partition(s) ...

    - What do the according mount points look like?
    - Are any of them being mentioned in /etc/fstab?
    - What does /etc/mtab tell about these "disks"?

    Comment


      #3
      Re: External ext3 hdd automounting as root

      Thanks for the quick reply,

      all the disks usually end up mounted at /media/disk or /media/disk-1,
      the flash drives at various /media/flash, /media/KINGMAX etc....

      None are configured in /etc/fstab,

      /etc/mtab with the 320G disk plugged in by itself:
      Code:
      /dev/sda1 / ext3 rw,errors=remount-ro 0 0
      proc /proc proc rw,noexec,nosuid,nodev 0 0
      /sys /sys sysfs rw,noexec,nosuid,nodev 0 0
      varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
      varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
      procbususb /proc/bus/usb usbfs rw 0 0
      udev /dev tmpfs rw,mode=0755 0 0
      devshm /dev/shm tmpfs rw 0 0
      devpts /dev/pts devpts rw,gid=5,mode=620 0 0
      lrm /lib/modules/2.6.20-16-generic/volatile tmpfs rw 0 0
      /dev/sdb1 /media/ext3disk ext3 rw,noexec,nosuid,nodev,sync,data=ordered 0 0


      Comment


        #4
        Re: External ext3 hdd automounting as root

        Originally posted by schoey
        /dev/sdb1 /media/ext3disk ext3 rw,noexec,nosuid,nodev,sync,data=ordered 0 0
        Hmmm ... and how about sudo chmod 777 /media/ext3disk (with the partition mounted) ...?

        Comment


          #5
          Re: External ext3 hdd automounting as root

          Problem solved.
          thanks for that, I'm new to this auto mounting stuff, I thought of modifying permissions but thought they would not be preserved across a unplug/replug cycle.

          Much appreciated.

          Comment


            #6
            Re: External ext3 hdd automounting as root

            Originally posted by schoey
            Problem solved
            Don't except too much, though - "Feisty" is well known for acting up in the face of USB disks

            Comment

            Working...
            X