Tag Archives: Windows

Windows, rsync and permissions

Just a short note on mixing Linux utilities with Windows. I wanted to set up a single button deployment of updates to a static web site. I had been using an rsync script, but it required me to manually enter authentication credentials every time it was used to send updates to a remote Ubuntu server.

I set up public key authentication, but it would not work with the permissions of the key files on the Windows machine where the updates were coming from. After struggling with this for a bit, I finally used Cygwin running on the Windows machine to set the permissions just as I would on a Linux system. After that, things worked fine — it’s a single click script with no intervention required.

Still don’t know how to get this done using Windows only. Too lazy to figure it out.

Tidying up the Ubuntu Grub2 Boot Menu

My wife and I share a computer that dual boots Ubuntu Linux and Windows. Too, when we upgrade computers, I tend to take the hard drive(s) from the old computer to the new computer. The boot menus created by the grub2 program can be a bit confusing for the uninitiated. As kernel updates are added, the list gets longer. The old Windows drive appears in the list, as well as the recovery partitions that manufacturers often put on Windows drives. In the normal course of things the Windows menu items can get pushed out of view at the bottom of the screen.

“Where’s the Window menu item!?” “Which of all these Windows choices is the right one?”

Not a happy situation.

In the interests of domestic harmony (and to assure that a Windows recovery partition is not booted inadvertently), a little clean up is required.

Continue reading