Hi&welcome (I think
Kali?s are like asking Police what to do with pile of Guns I found
)
+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.