My Blog

Umask Values

Another post containg stuff I usually have to look for.

umask valuefile chmod valuedirectory chmod value
000666 rw-rw-rw-777 rwxrwxrwx
002664 rw-rw-r--775 rwxrwxr-x
022644 rw-r--r--755 rwxr-xr-x
027640 rw-r-----750 rwxr-x---
077600 rw-------700 rwx------
277400 r--------500 r-x------


Fix Grub (Again)

So thanks to Windows going screwy again I had to fix grub on my machine. So I can find these instructions again here they are:

  1. sudo mount /dev/sda4 /mnt
  2. sudo mount -o bind /dev /mnt/dev
  3. sudo mount -o bind /proc /mnt/proc
  4. sudo chroot /dev /bin/bash
  5. grub-install /dev/sda
  6. exit
  7. reboot

These instructions allow you to run grub-install in a chrooted environment.


Now I Git it

I've been playing around with git for a short while now and now I think I've finally got it, or rather the point of it. Ignore those places that discuss it as you commit to your local repository and then commit that the the main repository etc. No it's about letting everyone have a complete copy - in fact you don't even need a central repository to get the benefit of version control - it sits there in a folder on your own PC.
Anyway so here's some sourcves which may help: