You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the allocation directory is migrated from one nomad client to another, permissions on the files are not retained. Files are unarchived as root (as that's what Nomad's running as in my environment).
Reproduction steps
Use jobspec below; set the constraint so that the job runs to completion on one host, then run it again with the constraint updated so that it runs on another node. The 2nd placement will fail because the permissions are wrong on the files that were transferred from the other node.
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Nomad version
Nomad v0.5.0
Operating system and Environment details
CentOS 7.2
Issue
When the allocation directory is migrated from one nomad client to another, permissions on the files are not retained. Files are unarchived as
root
(as that's what Nomad's running as in my environment).Reproduction steps
Use jobspec below; set the constraint so that the job runs to completion on one host, then run it again with the constraint updated so that it runs on another node. The 2nd placement will fail because the permissions are wrong on the files that were transferred from the other node.
Job file
The text was updated successfully, but these errors were encountered: