typo in that command
In the last sentence of the second paragraph 'similarly created with rw only for my user.' should have said 'similarly created with rw only for root'
here's a simple test case
$ umask 0077 $ touch /tmp/example1 $ sudo touch /tmp/example2 $ ls -l /tmp/example* -rw------- 1 username username 0 2009-07-16 11:39 /tmp/example1 -rw------- 1 root root 0 2009-07-16 11:39 /tmp/example2
for reference, the default umask on ubuntu is 0022, but is a fairly common action for people to customise this on multi-user machines
typo in that command
In the last sentence of the second paragraph 'similarly created with rw only for my user.' should have said 'similarly created with rw only for root'
here's a simple test case
$ umask 0077
$ touch /tmp/example1
$ sudo touch /tmp/example2
$ ls -l /tmp/example*
-rw------- 1 username username 0 2009-07-16 11:39 /tmp/example1
-rw------- 1 root root 0 2009-07-16 11:39 /tmp/example2
for reference, the default umask on ubuntu is 0022, but is a fairly common action for people to customise this on multi-user machines