title: Lua change current/working dir, Linux (without LFS or any non-std modules)
body: <p>I need to change current working dir in lua script for execute specific actions, but i have a trouble with this simple task.
  I write test script test.lua :</p>
  
  <pre><code>os.execute("cd /usr")
  os.execute("ls")
  </code></pre>
  
  <p>But lua test.lua output is:</p>
  
  <pre><code>test.lua
  </code></pre>
  
  <p>Current dir doesn't change. What's is wrong? And i can't use LFS or any non-std modules.</p>
  
  <hr>
  
  <p>Thanks to all for explaining it situation. I choose another way : change work dir before run lua script, but i have a lot of troubles with paths which use in scripts and with scripts.</p>