Friday 17 October 2008

What's your KDE Alt-F5?

A typical day loving the KDE,

Thursday 25 September 2008

Making iReport 3.1.1 find the oracle.jdbc.OracleDriver class

If you are using Oracle 11g with iReport 3.1.1 (A design tool for JasperReport 3.1.0) and you are getting a ClassNotFoundException for oracle.jdbc.OracleDriver then add ojdbc5.jar via the Tools > Options > Classpath panel,




Good luck!

Wednesday 10 September 2008

COM and OLE: But the spec was in inches

Handy to know that Visio can produce COM and OLE diagrams in either inches or centimetres,


Wednesday 4 June 2008

How to fix "550 Permission denied" with vsftpd when using virtual users

Using vsftpd 2.0.5-2 on Debian Etch I was able to set up a virtual user using pam_pwdfile.so by following a combination of these pages

http://howto.gumph.org/content/setup-virtual-users-and-directories-in-vsftpd/

ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-2.0.6/EXAMPLE/VIRTUAL_USERS/README

Logging in and listing files worked but uploading did not work. This turned out to be a problem it was easy to find other reports of in mailing lists and forums but the solution was elusive until I finally read the man page for vsftpd (http://vsftpd.beasts.org/vsftpd_conf.html). The solution was to set virtual_use_local_privs=YES.

From the man page:
virtual_use_local_privs
If enabled, virtual users will use the same privileges as local users. By default, virtual users will use the same privileges as anonymous users, which tends to be more restrictive (especially in terms of write access).

Default: NO


Learning take-away: Read the official documentation before asking Google for a quick fix.

Tuesday 22 April 2008

Welcome to my blog

Yes, now at last, the personal blog of Janek Bogucki is available to the hungry public.