# every user in a same group, so if you copy files there with exact
# perms, that is probably not what you want. I don't use a system like
# that. I don't care much either way, but the ubuntu one seems a bit
-# more user friendly.
-if (( EUID >= 1000 )); then
+# more user friendly, and copying files between them is a pita with
+# different umasks.
+if test "$(id -u)" -ge 1000; then
umask 002
fi