File ownership in the installation directory
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi devs,

    To address one of the issues with getting Airtime into Debian/Ubuntu, I
    test installed the 1.6.1 tarball into /var/lib/airtime on a Lucid system
    like so:

    $ sudo tar -xvzf airtime-1.6.1-GA.tar.gz -C /var/lib/
    $ sudo chown -R root.root /var/lib/airtime/

    This install is working fine so far, I can even update Configure ->
    Preferences through the browser on the localhost without permissions
    errors (which was a surprise).

    Was there a specific reason why the wiki advocates running Airtime as
    your normal user, and adding your username to the 'www-data' group?
    Although this would make it simpler to tinker with installation files
    while developing, it doesn't seem to be necessary for a production system.

    Cheers!

    Daniel
  • 2 Comments sorted by
  • Daniel,

    Looking at this, we should be able to safely remove this.

    I think this may be a remnant from days when the Airtime folder had www-data file permissions, and we still wanted to actively modify these files as normal users.
    Airtime Pro Hosting: http://airtime.pro
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Martin,

    > Looking at this, we should be able to safely remove this.

    Good :-) I've taken this step out of the manual.

    > I think this may be a remnant from days when the Airtime folder had
    > www-data file permissions, and we still wanted to actively modify these
    > files as normal users.

    Right, Newscoop still relies on this. It's not acceptable for
    Debian/Ubuntu though.

    Cheers!

    Daniel