Category Archives: linux

Revert files to older svn version

A lot of times developers do one or other mistakes and you need to revert the files to older version. Which basically mean that you need to merge backwards with a older version of files. So let’s say if you want to go back from version 100 to 99, you’ve to


svn update
svn merge -r 100:99 .
svn commit -m "Rolling back to version 99"

Notice the . at end of svn merge command, this tells that current directory needs to be merged if you need a particular file to be merged you need to issue


svn merge -r 100:99 conf.php
svn commit -m "Rolling back conf.php to version 99"

Hope this helps someone.

Restricting folders for svn access

While working with several developers at the same time, you really need a method to make sure that each team doesn’t mess up with someone else module. Splitting directories of each user is a nice idea when your developers are not that diciplined or when you are running multiple sites of same repository.

I faced a similar problem when i wanted to restrict access to 2 of my developers from editing anything above directories i allocated. For this

Go to your conf directory this would be located inside your main configuration directory.

#cd conf

Fire up your favorite editor, mine is nano

#nano authz

And put a access control to directory

[/repo/project/folder]
usera = rw
userb = r

Say if you have multiple repositry in svn server, restrict access to a particular repositry by

[repo1:/repo/project/folder]
usera = rw
userb = r

I think this should help.

Windows and linux are different

Windows users are more or less in a customer-supplier relationship:
They pay for software, for warranties, for support, and so on. They
expect software to have a certain level of usability. They are
therefore used to having rights with their software: They have paid
for technical support and have every right to demand that they receive
it. They are also used to dealing with entities rather than people:
Their contracts are with a company, not with a person.

Linux users are in more of a community. They don’t have to buy the
software, they don’t have to pay for technical support. They download
software for free & use Instant Messaging and web-based forums to get
help. They deal with people, not corporations.

A Windows user will not endear himself by bringing his habitual
attitudes over to Linux, to put it mildly.

Why Vista Sucks

Vista which was suppose to be more secure, more reliable, easy to use, (showered with all the nice marketing terminologies) is already showing its true colors.

It has a serious security flow that allows any application to play with the core kernel, this is potentially dangerous as someone can use this to write a virus, put a trojan, infect your pc with a spyware and create all kinds of havoc. Read more.

The blog world is filled with how insecure Vista is. Some more interesting reading. BBC says:

Microsoft has admitted that speech recognition features in Vista could be hijacked so that a PC tells itself to delete files or folders.

Forbes.com screams: More than five years in the making, more than 50 million lines of code …. Vista is at best mildly annoying and at worst makes you want to rush to Redmond, Wash. and rip somebody’s liver out.

Please don’t do anything like ripping anyones liver. Just rip out Vista and put Linux 🙂