Showing posts with label rant. Show all posts
Showing posts with label rant. Show all posts

Friday, September 24, 2010

Read-only directory in Windows XP

Yesterday I had to make a read-only directory in Windows XP. Surprisingly this was the apparently the first time. As Windows has for a long time been marketed as easy to use, compared to e.g. Linux, because the user does not need to write cryptic commands on the command-line but use graphical tools I assumed this to be an easy task.
So, how to make a read-only directory/folder in Windows XP?

Well, not like this:


But like this (Using PowerShell as Command Prompt is not powerful enough):

$acl = get-acl .\readonlyDir
$rule=new-object System.Security.AccessControl.FileSystemAccessRule("MY-DESKTOP\username","CreateDirectories","Deny")
$acl.SetAccessRule($rule)
$rule=new-object System.Security.AccessControl.FileSystemAccessRule("MY-DESKTOP\username","CreateFiles","Deny")
$acl.AddAccessRule($rule)
set-acl .\readonlyDir $acl

Since I'm not a Windows expert my solution is probably not optimal so I gladly accept easier ways to make a read-only directory.

Monday, February 22, 2010

Posten mot / vastaan Matkahuolto

Ett paket från Umeå till Åbo med svenska Posten och finska Matkahuolto.
Yksi paketti Uumajasta Turkuun ruotsin Postin sekä suomen Matkahuollon kanssa.

Matkahuoltos bild av paketets händelser / Matkahuollon kuva paketin tapahtumista:


Svenska postens bild av paketets händelser / Ruotsin postin kuva paketin tapahtumista:


Slutsats / Johtopäätös: Svenska posten vet bättre om vad matkahuolto sysslar med än vad matkahuolto själv gör. / Ruotsin posti tietää paremmin matkahuollon toiminnasta kuin mitä matkahuolto itse.

P.s. Det kan bero på att matkahuoltos websidor och informations-system kunde vara i behov av en updatering. / Saattaa myös johtua matkahuollon websivujen sekä tietojärjestelmien päivityksen tarpeesta.

P.p.s. Jag är inte arg, jag vill bara ha mitt Samyang 8 mm f/3.5 Aspherical IF MC Fish-eye objektiv och börja fotografera. / En ole vihainen, haluan vain saada tilaamani Samyang 8 mm f/3.5 Aspherical IF MC Fish-eye objektiivin ja alkaa kuvamaan sillä.

Friday, November 20, 2009

Late for work - blame it on Nokia

On Friday morning at 8:24 I discovered an interesting feature about Nokia Ovi Suite. The backup functionality does not back up the alarm clock settings.

I had the previous evening made an software update to my E51 and since I followed the instructions presented by the update wizard and the backup/update/restore procedure completed without errors I assumed everything went fine. After the update I did, however, notice that my phone language and profile settings were restored to factory defaults but since my contacts, e-mail and calendar data was intact it didn't bother me that much.

Dear Nokia, if it is too difficult to back up the alarm clock settings, then please at least inform the user, if he has alarms set, that they will be lost during the upgrade process.

Wednesday, May 6, 2009

Representing your company

When you have a sticker proudly marketing your company with both name and logo you should remember to behave. Most people will associate your behavior with the company you are "marketing". This is specially important if you have bad manners and can't behave like normal people.

Sitting frequently on the train between Turku and Helsinki this problem is something that I encounter much too often.

Case study:
You currently sitting in front of me at the other side of the table in the IC2 train.
Stop behaving like you own the train spreading your belongings over the already minimal table and screaming into your phone (that does really not improve the reception). I also have no wish to smell your foot sweat so kindly keep your shoes on.
Finally, please cover your mouth when you cough, I have no time to catch tuberculosis, or something similar.

I understand that you do big business deals and know everything, but still I really don't even care to know your existence.

I'll step off the soapbox now.