Friday, August 19, 2011

Unable to delete a file in linux

On a fine day, I found a normal looking file, which I just wanted to clean.

$ ls -l var/t/log/tlog
-rwxrwxrwx 1 root root 2770 Apr 6 14:05 var/t/log/tlog
$ sudo rm -rf var/t/log/tlog
rm: cannot remove `var/t/log/tlog': Operation not permitted
$ sudo rm -rf var/t/log
rm: cannot remove `var/t/log/tlog': Operation not permitted
$ sudo getfacl var/t/log/tlog
# file: var/t/log/tlog
# owner: root
# group: root
user::rwx
group::rwx
other::rwx

then why the hello even if I am root, I cannot delete the file.

#cd var/t/log
# lsattr tlog
-----a------- tlog
# chattr -a tlog
# lsattr tlog
------------- tlog
# rm -rf yinstlog

Done.


Monday, August 15, 2011

Reasoning against Janlokpal, Anna Hazare

1. Anna Hazare is trying to be Gandhi, and no one can become Gandhi

2. It's a important movement, but comparing it Gandhi is the biggest mistake making this movement nulled.

3. No one looked Swami Nigamananda, who died for Ganga, so why look at Anna now.

4. There is a way to protest, legelative, electoral and making a law, but forcing a law is not correct.

5. What is a fast? non-violent militancy.

6. When the country is at red alert and India is under the terror threat of terrorists, we should not have another protest.

7. Not democratic.

8. Rural and urban divide, Rural India thinks of only feeding themselves.

9. Why not Anna gets himself ellected and come to parliament and make a law.

10. Anna himself is correct and indicted in a court, so he cannot head the anti-corruption brigade.

11. This is undemocratic.

12. Movement does not have masses behind it.

13. Anna Hazare is challenging the parliment and PM.

14. Unconstitutional.

15. Anna Cannot change the laws frivolously.

16. Anna is old and not an elected member, he does not know how the parliament functions.

17. Illegal way of holding ransom the whole country and government.

18. My way or highway, it is like hanging a sword on top of all of us.

19. Who is common man? How he is at your side?

20. Only a handful are supporting it and if you say many are following you or you are representing common man, get elected.

21. Why blame this parliament, when the delay was caused by earlier parliaments.

22. This is blackmailing democracy and a dark day in Indian Constitution.

23. Major constitutional changes are being asked and this cannot be passed in a hurry.

24. How can a law of such significance be passed in a few stipulated days.

25. Government is willing to hear and bring up a discussion, why Anna is wanting only his way.

26. Anna is India and India is Anna, resonated by Kiran Bedi, and it sounds like Dictatorship and Adolf Hitler.

27. Where are the masses which you say you have support. These are people who do not even understand what is lokpal.

28. US is behind this.

29. Sangh Parivaar and RSS are behind this.

30. Anna spent 2.2 lacs of an NGO fund on his birthday, and that makes him very corrupt.


I will keep on adding as I get to hear more.


Dont you think they are funny :)


Friday, August 5, 2011

Is a Catastrophic incident lurking ?

I do not know. However, an uncanny sense tells me we are pretty close to it. Say 20 years.
just my damn bad senses tell me to blog it here. God, I pray. Bad times are those which makes us closer to the Almighty.

Another lousy ediot, doomsday predictor.


Somehow, I feel the Catastrophe we will see, would have never been envisioned. Sad days are lurking ahead.

Thursday, August 4, 2011

A Man said to be mad and homeless beaten to death


Important excerpts :

Kelly Thomas was an outgoing child who loved to play the guitar, participated in Boy Scouts and Cub Scouts and aspired to be a wildland firefighter, said his father, who raised him alone after he and Thomas' mother divorced.
...

But each time he began to improve, he stopped his medications and wound up back on the streets, moving between Yorba Linda, Placentia, Fullerton and Cypress — all places where he had once lived or had family and friends. One of the hardest parts of his death has been hearing their son described as homeless, the father said.
...

His mother sought a restraining order against him in December 2010 after he refused to leave her front porch, took off his clothes and urinated by the front door, according to court papers. In the same court papers, his mother alleged that Thomas grabbed her by the throat when they shared an apartment, although it was unclear when the incident occurred.
...

A male witness says the man, identified as Thomas, was sitting on a bench when he was approached by two officers and ran from them. The man says police used a stun gun on Thomas six times.

"They caught him, pound his face, pound his face against the curb ... and they beat him up," the man said. "They beat him up, and then all the cops came and they hogtied him, and he was like, 'Please God! Please Dad!'"

...

Inference, the kid may have never got over the fact that his Mother does not love him. Sad and Saddest being its unbelievably true. The entire humanity will suffer from such mothers and fathers who do not care for there children.

Lesson, Please do not desert your kids, whatever may come. Give them love thats all they ask of you.


List directories via 'ls -d' - surprised me

List directories via 'ls -d' - surprised me This was one of those feelings where I was left surprised with the humble linux comm...