I’ve been working with Docker a lot recently, and have been switching to non-root users within the Dockerfile
using the USER
instruction (not for security reasons, but in order to test software not as root). As a result, I’ve been suffering a little from this issue - essentially, files copied into a Docker image using ADD
or COPY
are copied with the owner as root, irrespective of the ownership outside the Docker image. According to this comment, this behaviour in Dockerfiles won’t change, at least in the near future.
Working around Docker's COPY command copying as root using GNU M4
Tesco Are Clever Again
I got a new Clubcard from Tesco again today. On the back of the key fob version is a phone number and and an ID number. If your cards get lost, the finder is exhorted to call the number to arrange for your keys to be returned. Who knows if it would work, but it’s an potential extra benefit for little cost to me - since I’d put the key fob tag on anyway. Ingenious.
More ...Fraport Badness
Normally I find Germany to live up to its reputation for competence and organisation. Today’s trip through the bureaucracy of Frankfurt airport, however, has been marred by duplicate security checks, far too many passport and boarding pass checks, annoying queues, and unclear instructions at the gate - and I haven’t even got on the plane yet! I’m not impressed.
Perhaps Frankfurt is suffering from the Heathrow disease of being just too big for its boots.
More ...Wagamama Authorisation
Two recent visits to Wagamama (outstanding noodle bars - give them a try if you haven’t already) have uncovered a strange habit: when asking for the bill, it’s brought immediately to your table, with a slip asking for the tip and a signature. Once this is filled in, your credit card is taken away briefly - presumably to be swiped. But no further signature is required, and even more surprisingly no PIN number is requested. That’s the end of the transaction.
More ...Splogged
I’ve noticed that my blog’s been splogged - unsurprisingly, using one of my film reviews that contains some ‘adult’ words (see here for the NSFW copycat). Does this mean I’ve made the blogging bigtime? I’m still only at Technorati rank 147,804 - although (in a not-at-all-sore-loser fashion) I feel the same about Technorati as Richard does about Sun - what exactly is the point?
Spiegel vs. BBC
Fascinating. This 2-day old article regarding a German plane bomb plot made the front page of the Der Spiegel website, but never came anywhere near the front page of the BBC one (this eventually made an appearance, hidden away). Perhaps British folks are expected not to care about German travellers? Maybe alleged terrorist threats are now that commonplace? Or is the BBC just not quite as capable as it many believe it to be? Our ’trusted’ news source slips past day by day without asking the most basic of questions in most situations (mostly, ‘show me the evidence’). It’s immoral that I would face a £1000 fine for having a box of electronics and refusing to pay for this (I don’t own a TV).
More ...Illiberal Hampshire Police
Firstly we learn that owning knives in Hampshire is wrong. Or maybe it isn’t; but the police only seem interested in gathering them anyway. Then we discover that the police are targeting signs that others find offensive. I’m not convinced this is a good use of my tax money.
But accordingly, I would like to politely request that Hampshire Police remove the following signs across the county, which I find offensive:
-
‘Please wash before exiting rest room’ (the facilities in my office)
More ...
Liquid Relaxation
For anyone who hasn’t heard, there are new EU-wide regulations on hand baggage - which have the effect of slightly relaxing the rules that were in place at UK airports (although there are still plenty of awkward gotchas). The implication of this, of course, is that either the original terrorist threat has subsided (although it would be nice for the security ‘services’ to explain why), or that they panicked and couldn’t handle the situation they suddenly found themselves in. Either way, I suspect the next knee-jerk reaction isn’t far off. In the meantime, maybe this will reduce the number of annoyed executives having to check in an overnight bag.
More ...Woolwich from Winchester
Just before a trip to London a few days ago, I inserted my Woolwich card in an ATM near Winchester Station. I hit the ‘balance on screen’ button, and saw ‘your card issuer has declined your request’. A bit mysterious. I don’t normally keep much money in that account, but obviously I still wanted to make sure that someone wasn’t in the process of stealing it. So I phoned up the ’lost and stolen’ line on the back of the card and explained the problem. I was told that, because I wasn’t an Openplan account holder (whatever that is), it wasn’t possible to do any telephone banking past 5.30pm. Although my security details could be verified, I was told that no further information could be given. The card could be cancelled, and a new one sent out, but I didn’t want to go through the hassle for the risk attached to such a small sum of money.
More ...Speakers from a Van
When I was at Imperial not so many years ago, there was a story in Felix, the college newspaper, about local ruffians selling knocked-off speakers from the backs of white vans in the South Ken area. At the time, students were advised not to approach them and to inform the police. I thought not much more of it, apart from it being a slightly bizarre way of fencing.
However, I recently read a story in Seth Godin’s book, All Marketers are Liars, which cast a new light on this. Apparently, something similar was happening in 80s Harvard: entrepreneurs would buy last year’s model of speaker (hence cheaply) and sell them to local students from the back of a van. Because the students assumed they were stolen, they could rationalise why they were cheap. The entrepreneurs made a tidy profit.
More ...