- Update working with temp dir. Added checking access to tmp and sets file permissions for user who called script.
- Update working with temp dir. Added checking access to tmp
and sets file permissions for user who called script.

asand3r/zbx-hpmsa