All photos shot with Canon 7D and CANON EF 70-200/2.8 L IS USM II
Thursday, December 16, 2010
A Crown of Candles
Saint Lucy's Day celebration in Turku 2010 with Annica Sigfrids as St. Lucy.



All photos shot with Canon 7D and CANON EF 70-200/2.8 L IS USM II
All photos shot with Canon 7D and CANON EF 70-200/2.8 L IS USM II
Labels:
2010,
7D,
Åbo,
Annica Sigfrids,
Canon,
Feast of St. Lucy,
Finland,
Lucia,
Lucia-neito,
Photography,
Saint Lucia,
Saint Lucy's Day,
Santa Lucia,
Suomi,
Turku
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):
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.
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.
Labels:
Command Prompt,
complicated,
difficult,
directory,
folder,
Microsoft,
PowerShell,
rant,
read-only,
readonly,
Windows,
XP
Monday, September 20, 2010
Monday, September 6, 2010
Sunday, August 29, 2010
Subscribe to:
Posts (Atom)
