I've got a question. Why cannot I get access to a file from Tarantool LUA admin console? Am I in a jail ?
tarantool -h myhost -a 33015
help
console client commands:
- help
- loadfile 'path'
- setopt key=val
- (possible pairs: delimiter = 'string' )
- ( pager = 'command' )
...
---
available commands:
- help
- exit
- show info
- show fiber
- show configuration
- show slab
- show palloc
- show stat
- show plugins
- save coredump
- save snapshot
- lua command
- reload configuration
- show injections (debug mode only)
- set injection <name> <state> (debug mode only)
...
myhost> lua file = io.open("/etc/motd", "r")
attempt to index global ''io''
Neither I can use a socket module:
[string "local s=require(''socket'');local t=assert(s.tc..."]:1: attempt to call global ''require''
Is it possible at all to read files and execute commands from inside Tarantool LUA console ?