Menu

#3 Error Viewing Local Newsgroups

0.7.x
open
None
5
2003-01-26
2002-10-10
No

Here is the output of running the View Local Newsgroups
command with Leafwa 0.7.0a1-ap and Leafnode 2.0 snapshot:

Existing local newsgroups:

Warning:
fopen("/var/spool/news/leaf.node/local.groups", "r") -
Permission denied in
/home/httpd/html/stats/leafwa/localng.php on line 126

!! Cannot open file
/var/spool/news/leaf.node/local.groups !!
Attempting to create it...

command is [./touch.sh
/var/spool/news/leaf.node/local.groups]
Warning:
fopen("/var/spool/news/leaf.node/local.groups", "r") -
Permission denied in
/home/httpd/html/stats/leafwa/localng.php on line 139
FAILED.

I do not have any local newsgroups set up.

Discussion

  • Andy Piper

    Andy Piper - 2002-10-11

    Logged In: YES
    user_id=3132

    Again, this looks like permissions. I may need to improve
    the documentation further.

    What are the permissions on /var/spool/news and
    /var/spool/news/leaf.node? Is the Apache / webserver user
    able to access that directory?

     
  • Jeff Grossman

    Jeff Grossman - 2002-10-11

    Logged In: YES
    user_id=128814

    No, the Apache user does not have access to that directory.
    Here is the permissions on /var/spool/news:

    drwxr-x--- 22 news news 4096 Sep 22 15:26 news

    It does not appear the Apache user can even read the
    directory, especially can't write to it.

     
  • Andy Piper

    Andy Piper - 2003-01-26
    • milestone: --> 0.7.x
     
  • Andy Piper

    Andy Piper - 2003-01-26
    • assigned_to: nobody --> andyp
     
  • Andy Piper

    Andy Piper - 2003-01-26

    Logged In: YES
    user_id=3132

    This could well be a basic permissions problem, but I am
    aware that local newsgroups functionality is broken.

    Kevin Bulgrien is currently working on fixing the problems
    with local newsgroups functionality in 2.x - keep an eye on CVS.

     
  • Kevin R. Bulgrien

    Logged In: YES
    user_id=697549

    After a long delay, I have begun to address Leafnode 2.0
    issues with local group management.

    The issue you mention currently affects various aspects of
    Leafwa local group administration. The core issue IS one of
    permissions. I need to do some work on figuring out at
    least a relatively safe and clean way to interact with
    Leafnode's files. At least in the past, Leafnode has been
    very paranoid - actually undoing safe and secure
    administrative permission tweaks made in the /var/spool/news
    directory tree. A viable solution may require creative use
    of sudo facilities, but, again, more thought needs to be put
    into it.

    I plan to re-examine the code with your scenario in mind -
    no local groups configured.

    I am new to PHP / Apache / server-side scripting, etc., so
    please bear with me, or feel free to offer suggestions. I
    am aware of the problem, and plan to address now that I have
    leafnode and leafwa installed on one of my private servers.

    I wrote much of the local group management portion because I
    administer a local group only installation of leafnode. I
    needed a way to reach into the news group tree for
    maintenance. This is NOT a thing one normally does to a
    news server, but, it fills a niche need that we have for
    archiving the tribal knowledge that our design group
    engineers have.

     
  • Jeff Grossman

    Jeff Grossman - 2003-01-26

    Logged In: YES
    user_id=128814

    Please let me know if there is anything that I can do to
    help fix these problems. I am not a programmer, so I am not
    sure I can help there. But as a user I can offer my help.

     

Log in to post a comment.

MongoDB Logo MongoDB