 ###
 
 if process.env.USER != 'root'
-    console.warn("storage.coffee may only be used as root")
-    process.exit(1)
+    console.warn("WARNING: many functions in storage.coffee will not work if you aren't root!")
 
 {join}      = require('path')
 fs          = require('fs')

        process.exit(if err then 1 else 0)
    )


exports.update_storage = () ->
    # This should be run from the command line.

                cb    : (err, db) ->
                    database = db
                    cb(err)
        (cb) ->
            exports.assign_storage_to_all_projects(database, cb)
        (cb) ->
            exports.save_recent_projects
                database : database
