Fix permissions when adding a new thread

Change-Id: I41a5eef5ad80fbef39ef2991aca31e009e52d8ad