change owership on a 3ed hard drive

Asked by Bob

I put in a 3ed hard drive but cannot move files there it say I am not the owner. Wanted to use it for video, tv show and movies things like that.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Bob
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

sudo fdisk -l; lsb_release -a; uname -a; mount

Thanks

Revision history for this message
Bob (smith13) said :
#2

I do know it is /dev/sdb and i have named it vidshows

bob@bob-desktop:~$ sudo fdisk -l; lsb_release -a; uname -a; mount
[sudo] password for bob:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009b9a2

   Device Boot Start End Blocks Id System
/dev/sda1 * 2048 154222591 77110272 83 Linux
/dev/sda2 154224638 156301311 1038337 5 Extended
/dev/sda5 154224640 156301311 1038336 82 Linux swap / Solaris

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdc: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00009147

   Device Boot Start End Blocks Id System
/dev/sdc1 63 1465144064 732572001 83 Linux
LSB Version: core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch:core-4.1-ia32:core-4.1-noarch:security-4.0-ia32:security-4.0-noarch:security-4.1-ia32:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
Linux bob-desktop 3.11.0-19-generic #33-Ubuntu SMP Tue Mar 11 18:48:32 UTC 2014 i686 i686 i686 GNU/Linux
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
/dev/sdc1 on /media/bob/my_data type ext2 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=bob)
/dev/sdb on /media/bob/vidshows type ext3 (rw,nosuid,nodev,uhelper=udisks2)
bob@bob-desktop:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Ok, which partition are you having issue with? Seems you have 3 drives....

Revision history for this message
Bob (smith13) said :
#4

Again, I will write, I do know it is /dev/sdb
And now I see it has no name again was trying some things I read and once again hit a wall.

It took me 4 days to find out how to change it and in reading so much that says it will work and don't. I have no clue on how to give it a name.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Try:

sudo chown -R bob:bob /media/bob/vidshows

Should do it

Revision history for this message
Bob (smith13) said :
#6

and how do I give it it's name back

Revision history for this message
Bob (smith13) said :
#7

I looked in gparted to change the name back but its not there it was some other thing

Revision history for this message
Bob (smith13) said :
#8

I did that a dozen times already it did not work, but you have it write-in another way, but I can't try again, I need to know have to give it its name again.

Revision history for this message
Bob (smith13) said :
#9

I got the name back and it WORKED YOU ROCK.