This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
zombiegamer2011's profile picture

copy:13: Access denied

Started by zombiegamer2011, 10 December 2012 - 08:03 AM
zombiegamer2011 #1
Posted 10 December 2012 - 09:03 AM
Hi,

I seem to be having a problem with copying files to a disk, i type it as: copy list disk/list.
But when i press enter it returns: copy:13: Access denied
I've searched around but haven't found any solutions, I've tried oping computercraft with: [Computercraft] but this doesn't help.
if someone could help me that would be great :)/>

- zombiegamer2011
bjornir90 #2
Posted 10 December 2012 - 09:19 AM
It's because the list program is on the ROM, so you can't copy it. Also, it is in every computers so no need to copy it to a disk :)/>
zombiegamer2011 #3
Posted 10 December 2012 - 09:21 AM
It's because the list program is on the ROM, so you can't copy it. Also, it is in every computers so no need to copy it to a disk :)/>

Just to add some extra information, i made the list program :)/> is there a way i can get it out of the ROM so i can copy it?
or do i need to just copy the ROM maybe?
snoble2022 #4
Posted 10 December 2012 - 09:35 AM
Computercraft is confusing list with rom/programs/list. Try renaming the program to MyList or something.
bbqroast #5
Posted 10 December 2012 - 09:38 AM
Can you not just copy the "list" program to a folder outside of the rom? cp /rom/programs/list /list ?
zombiegamer2011 #6
Posted 10 December 2012 - 09:45 AM
Computercraft is confusing list with rom/programs/list. Try renaming the program to MyList or something.

embarrassingly, it appears i used the wrong floppy disk, but even with the proper floppy disk in the disk drive, and renaming the program, it still wont work, i've also found out i cant enter the disk with 'cd disk'
Lyqyd #7
Posted 10 December 2012 - 11:31 AM
Where is the disk drive in relation to the computer? Is the light on the disk drive green or red when the disk is in it?
zombiegamer2011 #8
Posted 10 December 2012 - 11:53 AM
Where is the disk drive in relation to the computer? Is the light on the disk drive green or red when the disk is in it?

The disk drive is on the left of the computer and the light is green
Lyqyd #9
Posted 10 December 2012 - 12:01 PM
Open up the lua prompt and run these commands; let us know what the results were:

disk.isPresent("left")
disk.hasData("left")
disk.getMountPath("left")