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

Creating A Read-Only File

Started by doublequestionmark, 03 October 2014 - 12:24 AM
doublequestionmark #1
Posted 03 October 2014 - 02:24 AM
I Would Like To Create A Read-Only File
Lyqyd #2
Posted 03 October 2014 - 02:55 AM
You can place files in ROM if you're playing single player or are the server owner. You cannot create a file in-game and make it become read-only.
Saldor010 #3
Posted 03 October 2014 - 03:27 AM
You can place files in ROM if you're playing single player or are the server owner. You cannot create a file in-game and make it become read-only.

Well, if you edited the FS API, you could create a read-only file. But yes, it doesn't come originally with the regular FS API.
Bomb Bloke #4
Posted 03 October 2014 - 03:32 AM
There's also the matter of the io API.

This is one of those cases where the best way to go about it depends on what the end goal is.