Change Permissions on a new hard drive to allow
mtyoung
tuxman at knology.net
Tue Jan 9 03:13:44 UTC 2007
I recently added a new hard drive (/dev/sdb1)to a dual boot system. The
new drive works fine from XP, but in Ubuntu I can only read. In XP I use
"Ext2 IFS version 1.10c" to access the Ext3 drive.
http://www.fs-driver.org/extendeddl.html
The drive was formatted as NTFS originally, then changed to Ext3.
Owner and Group are Root, Owner has all privileges, Group and Others can
read and execute only.
How do I change the permissions for a hard drive? Everything I find is
for directories and files.
TIA
MTYoung
Below are fdisk and fstab for this system.
--------------------------------------------------------------
mtyoung at osUbuntu1:~$ sudo fdisk -l
Password:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 19457 156288321 7 HPFS/NTFS
Disk /dev/sdb: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 24791 199133676 83 Linux
Disk /dev/hda: 20.8 GB, 20847697920 bytes
255 heads, 63 sectors/track, 2534 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 2427 19494846 83 Linux
/dev/hda2 2428 2534 859477+ 5 Extended
/dev/hda5 2428 2534 859446 82 Linux swap / Solaris
mtyoung at osUbuntu1:~$
-------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sda1 /media/windows ntfs umask=0222 0 0
##/dev/sdb1 /media/windows ntfs umask=0222 0 0
/dev/sdb1 /media/Ext2Docs200 ext3 defaults,errors=remount-ro
0 1
More information about the ubuntu-users
mailing list