I run sudo on ArchLinux(on x86_64) and Fedora(on sh4 cpu). They behavior different.
sudo mkdir x ls -l x
- It shows drwxr-xr-x root root x on ArchLinux.
- But shows drwxr-sr-x root mygroup x on Fedora sh4.
I'm wonder how to fixed this problem. I've tried put /etc/sudoers on Fedora, but it still create on wrong permission.