xb95 (xb95) wrote in lj_dev,
xb95
xb95
lj_dev

priv_list population for new installations

Okay, here's my first contribution to the LiveJournal server. This is for the livejournal tree (non-ljcom) since it's only really useful to people who are downloading LiveJournal for themselves.

What it is: A script that populates the priv_list table. The .tar.gz file consists of two files, the actual Perl script to do the populating, and the data file.

Why use it: If you're like me, even after following the instructions to the T in the install file, you'll end up with a priv_list table that isn't populated. Since there are no privileges in it, it causes make_system.pl to fail, and you can't give admin privileges to anyone. This is generally a bad thing.

Where to get it: For now, you can download priv_list_setup.tar.gz by clicking on it.

How to use it: Just put it anywhere and run it (make sure LJHOME is set first.) Also make sure both files are in the same directory and mySQL is setup, yadda yadda. :)

Notes: This is my first submission. Let me know if I did something wrong. :p (Brad, incoming e-mail too, with the diff file for a new paragraph on using this as part of the installation process and attached files so they can be added to the CVS if you want.)
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 7 comments