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

[Lua] [Question] "Access Denied" when saving programs on turtle

Started by Adadoquiflo, 22 December 2012 - 08:04 AM
Adadoquiflo #1
Posted 22 December 2012 - 09:04 AM
In a singleplayer world I have created a mining turtle, but I am unable to save any programs to it. I have tried this with many programs, some of my own and some from tutorials I have watched. After typing the code, I press control to save it, but after pressing [Save], the program does not save. Instead it displays a message saying "Access Denied". I have watched and read many tutorials and wiki articles about turtle programming, but none seem to cover this error. Any suggestions?
OmegaVest #2
Posted 22 December 2012 - 09:33 AM
Where are you trying to save it to? It will only deny you if you try to save it to the ROM, which is Read-Only-Memory.
remiX #3
Posted 22 December 2012 - 11:31 AM
Where are you trying to save it to? It will only deny you if you try to save it to the ROM, which is Read-Only-Memory.


He's using the edit program to create another which doesn't save to rom, unless he changed the directory.

Did you change the directory to rom and then edit an existing program or try creating one? Place a new turtle, open it and type edit test and try save.
ChunLing #4
Posted 22 December 2012 - 11:54 AM
Actually, I think that OmegaVest's interpretation is probable.

Do what remiX says, enter "edit test" into the shell prompt, then try saving that.

If successful, go ahead and type something in and save again. Then exit.

Then, enter "ls" at the shell prompt. You should see both "/rom" and "test".

Enter "edit test" again. It should have the text you typed into it before.

Follow these steps precisely, report exactly what happens.