mind the explanatory gap

many a slip ‘twixt mind and lip…

mind the explanatory gap RSS Feed

Archive for July, 2005

Workaround for Office and network home directories.

There are a bunch of annoying bugs to do with Office versions earlier than 2004 if you have network home directories.

Actually, the bugs will hit you even if you have your home directory on a different local partition to the one that Office is running from.
This simple script gives you a workaround.

cd /Volumes/Homes/staff
for user in [...]

Automatic WebDAV realms for iCal publishing

So another thing people seemed keen on is my system for setting up appropriate WebDAV realms for iCal publishing automatically for personal web pages on Mac OS X Server. This kind of follows on from the previous entry, but you could easily put the two scripts together.

It assumes:

~/Sites for personal web pages.
The [...]

Stopping ~/Sites from being browsable via AFP and setting up WebDAV areas.

More requests from X-World…
We use ~/Sites for personal web pages. I don't really like the way that by default other users can browse this folder via AFP, and you can't fix this by modifying the User Template folder, so I run this script every night on all network home directories.

This same script also makes sure [...]

Unlocking files recursively from the command line.

A few people at X-World seemed interested in this simple one-liner, which will recursively unlock files from the command line.

find /Volumes/Transit -flags +uchg -print0 | xargs -0 chflags nouchg

The command above would look at the path /Volumes/Transit, recursively find any locked files, and unlock them. The '-print0' and '-0' bits will deal with any files [...]