random note

September 22, 2009 at 11:06 am (Uncategorized) ()

1) random-noting after a long time
2) Will buy an internet connection so I can work on OCR from home.
3) Need to buy a drum set. Will keep it at Abhas Bhaiyya’s place.
4) Need to go to a gym.
5) Need a 2 wheeler. WIll have to go to Hyderabad to fetch my brother’s.
6) PyCon is coming up.
7) So is FOSS.in

Permalink Leave a Comment

Replicating ACLs from one file to another

September 22, 2009 at 6:17 am (Uncategorized) (, )

Say you have a file a with certain modes:permissions:ownerships. You need to apply these same ACLs to another file. What do you do?
There are 2 commands that come handy: ‘getfacl’ and ’setfacl’

Example: getfacl qmail-scanner-queue.pl.old | setfacl –set-file=- qmail-scanner-queue.p

This will set all the ACLs of qmail-scanner-queue.pl.old to qmail-scanner-queue.pl.

Permalink Leave a Comment

Ramzaan

September 3, 2009 at 3:20 pm (Uncategorized) ()

Ramzaan is the holy month of Muslims. Muslims try to be polite and curteous during Ramzaan.
There is a small shop near our office that sells food items and coffee. We generally go there and have a snack and a sip.
I would always notice that the quantity of coffee would be far lesser than what I would get somewhere else.
Today evening, I went to the shop and ordered a cuppa. To my pleasant surprise the cup was full :)
The shop is adjacent to the Masjid-E-Khadria on Nandidurga Road in Bangalore.

Permalink 3 Comments