BrettMayson / HEMTT

Build System for Arma 3
http://hemtt.dev/
GNU General Public License v2.0
113 stars 40 forks source link

v1.3.0 - error: IO Error: Permission denied (os error 13) #489

Closed DarkWanderer closed 1 year ago

DarkWanderer commented 1 year ago

/tmp is usually shared between all users on a VM/hardware server. HEMTT creates a /tmp/hemtt/ directory there with 755 permissions. This results in following errors for other users:

 INFO Config loaded for Dynamic Operations 0.2.1.1-69c2dc82
 INFO Creating `build` version
error: IO Error: Permission denied (os error 13)

Possible solution: ensure /tmp/hemtt permissions are 777 + add one more level of directory with UID (/tmp/hemtt/12345), to avoid possible collisions

BrettMayson commented 1 year ago

Implemented in 5893ff069b6582a513306c2a2cdba724c8c58ee1 and released in v1.3.1, it will use /tmp/hemtt/{username}/