Cannot copy files from external USB HDD to computer
- by Thomas Versteeg
Hello I have a HDD disk connected with a USB converter to my computer. It consists of two partitions, the first one is mounted automatically and I can grab all the files from it, but the second one I have to mount manually as a root in the command line, if I try to open it with nautilus it gives an error.
The drive where the problem is is drive sdb1, sdb2 has the same settings but works fine. I am using Debian Wheezy.
This is the fstab:
/dev/sdb1 /media/usb0 auto defaults,gid=disk,umask=0777 0 0
/dev/sdb2 /media/usb1 auto defaults,gid=disk,umask=0777 0 0
And when I try to copy the files with this command (as root)
cp -vr /media/usb0/* /home/user/Videos/ I get these types of errors:
cp: reading `/media/usb0/.lang/file.ext': Permission denied
cp: failed to extend `/home/user/Videos/.lang/file.ext': Permission denied
How can I at least copy the files to my main HDD? I don't need to adjust them I only need to copy them!