LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Error while copying to hard disk "The Destination is read-only " In KALI LINUX (https://www.linuxquestions.org/questions/linux-hardware-18/error-while-copying-to-hard-disk-the-destination-is-read-only-in-kali-linux-4175602405/)

rootkali 03-23-2017 11:46 AM

Error while copying to hard disk "The Destination is read-only " In KALI LINUX
 
i am kali linux user and i am not expert in it . when i am going to copy something in hard disk, showing a message "the destination is read-only". what will be the solution??
i want solution as soon as possible.

Turbocapitalist 03-23-2017 12:11 PM

Quote:

Originally Posted by rootkali (Post 5687337)
i am kali linux user and i am not expert in it . when i am going to copy something in hard disk, showing a message "the destination is read-only". what will be the solution??
i want solution as soon as possible.

Welcome.

http://docs.kali.org/introduction/sh...use-kali-linux

The fast way to both write to the hard disk and to become an expert is to download a copy of Linux Mint and train up on that. It has all the same tools you have on Kali but you can work on them one at a time in a more comfortable environment until such time as you become an expert. At that point, but not before, you can put Kali on a USB stick and carry it around to use as needed. Really that's the fast way as you can take the utilities on one at a time.

Which utility are you starting with first?

yancek 03-23-2017 03:30 PM

If you have an actual install of Kali Linux, you may have a corrupted filesystem and need to run a filesystem check. Unless you are planning to use Kali Linux to study computer forensics, it is a very poor choice as explained at the link posted above.

Jjanel 03-24-2017 01:32 AM

Hi&welcome (I think;) Kali?s are like asking Police what to do with pile of Guns I found:D)

+1 #2 for link! Good reading! ...excuses for irreparable damages vs. legal consequences?

Your destination device/filesystem is probably mounted 'ro' read-only. Try this (&learn):
df <your DESTINATION directory> ; grep -w <what that df reports it's "Mounted on"> /proc/mounts
Code:

# touch /mydir/myfile
touch: /mydir/myfile: Read-only file system
# df /mydir
Filesystem          1K-blocks      Used Available Use% Mounted on
/dev/sr0                  6878      6878        0 100% /mydir
# grep -w /mydir /proc/mounts
/dev/sr0 /mydir iso9660 ro,relatime 0 0

(Here's info on using 'CODE' tags; that was on mll)
You're probably running as 'root' (UID 0), so it's probably not write permission 'mode'
Here's another useful concept to learn: the difference adding -d makes on ls -l mydir
ByTheWay, tossing "the destination is read-only" into a web-search answers question!
Here's advice on 'using LQ' ("vehicle beeps when I shift": a truck? into reverse?)
p.s. Example of IMpolite: "i want [you to learn&reply] as soon as possible."

Best wishes! Looking forward to seeing that you are real&learning.


All times are GMT -5. The time now is 01:10 PM.