LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   new secondary hard drive disk permissions not working (https://www.linuxquestions.org/questions/linux-newbie-8/new-secondary-hard-drive-disk-permissions-not-working-633173/)

james.l.hanson 04-04-2008 11:42 PM

new secondary hard drive disk permissions not working
 
I'm using Xubuntu Gutsy 7.10. I recently placed a new secondary internal hard drive in my computer (Hitachi Deskstar 750GB SATA). As soon as I booted my computer, I started gparted. I placed a partition on the Hard Drive, the entire 750 GB of it, as an ext3 partition. I chose the "Primary Partition" option as well.

After the hard drive was formatted, I ran the command:
Code:

sudo mousepad /etc/fstab
At the bottom of the entry, I entered
Code:

# /dev/sdb1        /media/extended        ext3        rw,user,noauto,exec        0        0
My fstab currently looks like this:
Code:

# /etc/fstab: static file system information.
#
# <file system> <mount point>  <type>  <options>      <dump>  <pass>
proc            /proc          proc    defaults        0      0
# /dev/sda1
UUID=679a23ee-907e-410b-a583-4f88cf8e2c72 /              ext3    defaults,errors=remount-ro 0      1
# /dev/sda5
UUID=330679b0-d735-481f-8e4a-6e70dbc5adcc none            swap    sw              0      0
/dev/scd0      /media/cdrom0  udf,iso9660 user,noauto,exec 0      0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec 0      0
/dev/sdb1        /media/extended        ext3        rw,user,noauto,exec        0        0

I then saved, exited, and rebooted.

Upon reboot, I attempted to mount the hard drive. This resulted in the error message stating that i had to log in as root, and that root was the only authorized user.

I then searched on the internet a bit more, and came across another technique. I attempted entering:

Code:

sudo chown hanson /media/disk
The default user on my computer is "hanson." I then rebooted, and received the same error message as before. So I tried this:

Code:

sudo chown hanson /dev/sdb1

raskin 04-05-2008 03:02 AM

Did you chown /media/disk when it was mounted?


All times are GMT -5. The time now is 07:51 PM.