allow setting cgroup dir mode
Merge pull request #237 from prymitive/cgroup_perms

allow setting cgroup dir mode