saltstack/salt — Issue #822: Salt master does not create jobs cache folder
Author: syphernl
Created: 2012-03-03 10:16:49+00:00
State: open

I've got Salt running under user 'salt', which has full permissions on /var/cache/salt and folders in there. However, it does not work until I manually create the folder.

```Traceback (most recent call last):
File "/usr/bin/salt", line 18, in
main()
File "/usr/bin/salt", line 14, in main
client.run()
File "/usr/lib/python2.7/dist-packages/salt/cli/__init__.py", line 305, in run
for full_ret in local.cmd_cli(*args):
File "/usr/lib/python2.7/dist-packages/salt/client.py", line 216, in cmd_cli
verbose):
File "/usr/lib/python2.7/dist-packages/salt/client.py", line 330, in get_cli_returns
for fn_ in os.listdir(jid_dir):
OSError: [Errno 2] No such file or directory: '/var/cache/salt/jobs/0'```