Okay got it - I wasn’t repro’ing since I was creating a folder outside of the workspace folder.
What is going on is that the files in the workspace folder mounted from a mount point that is using an ACL that will set those permissions. If you go run
mkdir ~/test, you’ll see that it is in fact getting the right privs. However, to see the privs for the ACL for the workspace folder, you’ll need the getacl tool. Install it as follows:
sudo apt-get update
sudo apt-get install acl
Then from the workspace folder run
You’ll see this:
# file: .
# owner: root
# group: root
Is this causing a problem for you?
EDIT: There’s also a fix for this and things getting cloned as “root” coming soon. Both are related to the same problem.