ComputerCraft Forums

ComputerCraft => Ask a Pro => Topic started by: 564place on Aug 08, 2020, 08:51 PM

Title: Help
Post by: 564place on Aug 08, 2020, 08:51 PM
Hi im trying to make a way for me to not be able to delete some files with the delete program or with programs except a custom program i have no idea how to start this.
Title: Help
Post by: Lupus590 on Aug 08, 2020, 10:18 PM
You want to override the fs api, specifically fs.delete so that it can't delete your stuff.

You will also may want to edit other fs api methods so that it is clear that the files are protected.