5 posts
Posted 05 May 2013 - 02:01 PM
I'm running Direwolf_20 FTB server on Windows 7. When I attempt to save using computercraft's built in editor I get access denied the issue is the same for existing files as well as attempting to create new files. This isn't a issue personally however if I open up the server other players will be unable to edit without some kind of FTP access. Are there any changes to the directory tree or to the permissions the server is started under that would allow the ingame editor to work?
7508 posts
Location
Australia
Posted 05 May 2013 - 02:05 PM
you cannot edit anything in the directory '/rom/' only in the root or disks. make sure that, that's where you're editing the files.
5 posts
Posted 05 May 2013 - 02:08 PM
Ah that explains part of the issue (maybe all of the issue) would the /ocs/programs/ also have this restriction?
7508 posts
Location
Australia
Posted 05 May 2013 - 02:25 PM
yes it would indeed.
programs that install with CC are all read-only… you need to load the ocs APIs at the top of your code with
os.loadAPI, and you can run the programs with
shell.run… however you cannot edit them…