Trying to vacuum all databases under /data with sqlite3, but fails with error 14
Unlike REINDEX, the VACUUM command needs to create a new temporary file to work in. It then replaces the database file with this temporary file. This means that it needs write access, not only to the database file, but also to the directory it's in.