LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ERROR (13): permission denied? (https://www.linuxquestions.org/questions/linux-newbie-8/error-13-permission-denied-4175428519/)

Suinenzip 09-22-2012 07:36 AM

ERROR (13): permission denied?
 
a friend of mine downloaded and mounted on a DVD for me a Gparted (Live Version) so that i could do a backup of my files that i have on a hard disk that has bad sectors. he told me to write in the command box this line: ntfsclone --rescue --overwrite /dev/sdc1 /dev/sda1 . sdc1 is the external hard disk i have for backup emergencys and sda1 is my broken hard disk. once i hit the enter key it says "ERROR (13): Cannot open "/dev/sda1" as NTFS file: Permission Denied". He told me to do it as an administrator or i think he said root user, but i don't know how. can someone help me? thanks!!

pingu 09-23-2012 04:19 AM

You switch to root with "su" in a terminal.
(Or you could use "sudo" if it's used.)
SO, first "su -" (the'-' ensures you get root's PATH etc.) then enter the command,
OR "sudo ntfsclone --rescue --overwrite /dev/sdc1 /dev/sda1"


All times are GMT -5. The time now is 05:44 PM.