My words on free/open source software

Showing posts with label free software. Show all posts
Showing posts with label free software. Show all posts

Monday, April 21, 2008

HOWTO: vsftpd's Virtual User Use Local Privileges

If you are using vsftpd with virtual users, as described in official example, and are suffering problems like this:

226 Transfer done (but failed to open directory).

(you may see above text in client or server log), you may consider using "virtual_use_local_privs".

Per study of cpdohert, if you want vsftpd's virtual user follow local privileges, you have to use:

virtual_use_local_privs=YES

Sunday, April 20, 2008

FTP Ascii Mode in KDE (kioslave)

Write a ~/.kde/share/config/kio_ftprc, with

[hostname]
textmode=true

Or use [] instead of [hostname] to make it used everywhere.

Warning: this will likely mess up any transfers of binary files.

In courtesy of David Faure.

Steps to Upgrade MoinMoin Wiki from 1.5.* to 1.6.*

I've been using the MoinMoin Wiki from Debian Testing for some time and this morning I found it was upgraded from 1.5.8 to 1.6.2, and unsurprisingly, my Wiki installation stopped working, very obviously some data migration may be necessary.

After wasted some time, I found a good article: Thomas Waldmann's AnotherWayToMigrateFrom1.5To1.6. I couldn't find a good official migration guide like this, which told you that you must run cache cleaning and data migration.

Hope this is useful to other MoinMoin users.

Wednesday, April 16, 2008

Use pdftk to Update PDF File's Meta Data

A good tool, pdftk, can be used to manipulate PDF files, changing meta-data, page-juggling, etc., you name it! And it's GPLed.

Easy, peasy, japanesey.

About Me

My photo
Santa Cruz, California, United States