I'm having a pretty newbie problem with Ubuntu and their support forums are slow to reply me so I thought I'd seek help here. I'll provide as much info as possible.
I basically have three internal hard disk and I would like to share two of them over the network. The problem is, Ubuntu insist that I'm not the owner to these hard disk and therefore, I cannot edit them or change permissions to some of the files in them.
Take for example, some files in hard disk "Media 1" are locked and I can't access them over the network. I have no problems sharing the drives over entire network using the classic shares-admin.
sudo fdisk -l gives:
CODE
Disk /dev/sda: 15.0 GB, 15020457984 bytes
255 heads, 63 sectors/track, 1826 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00017566
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1744 14008648+ 83 Linux
/dev/sda2 1745 1826 658665 5 Extended
/dev/sda5 1745 1826 658633+ 82 Linux swap / Solaris
Disk /dev/sdb: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 4999 40146592+ af Unknown
Disk /dev/sdc: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/sdc doesn't contain a valid partition table
255 heads, 63 sectors/track, 1826 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00017566
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1744 14008648+ 83 Linux
/dev/sda2 1745 1826 658665 5 Extended
/dev/sda5 1745 1826 658633+ 82 Linux swap / Solaris
Disk /dev/sdb: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 4999 40146592+ af Unknown
Disk /dev/sdc: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/sdc doesn't contain a valid partition table
Both Disk sdb and sdc are readable and accessible via network and FIle Browser, but I can't seem to get
'fstab' to get it to mount properly.
I've tried to change ownership but this is what I get:
CODE
lionel@lionel-ubuntu:~$ sudo chown -R lionel /media/Media 1
chown: cannot access `/media/Media': No such file or directory
chown: cannot access `1': No such file or directory
chown: cannot access `/media/Media': No such file or directory
chown: cannot access `1': No such file or directory
HELP ME L&O!
Sep 9 2008, 08:01 PM
Quote
0.0268sec
0.77
7 queries
GZIP Disabled