bug-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: edit-pr changes the permission of the index file?


From: Milan Zamazal
Subject: Re: edit-pr changes the permission of the index file?
Date: Tue, 02 Jan 2001 23:57:23 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.94

>>>>> "OS" == Ole Streicher <ole.streicher@ebp.de> writes:

    OS> Hi!  I just installed Gnats-3.113 on my linux machine (Suse
    OS> 6.4), edited the configuration files and started with one new
    OS> category as a test.

    OS> The problem is now that after query-pr fails always after I used
    OS> edit-pr. I could track thius down and found out that edit-pr
    OS> changes the permissions of the index file to 600 (owner is
    OS> gnats), and query-pr is the unable to open this file.

Strange.  The bug appeared in CVS few days ago, but I wasn't able to
reproduce it with GNATS 3.113 nor can find any way how this could happen
in that version.

We have to diagnose the problem closer.  Does the following patch make
any difference?

--- /home/pdm/gnats/gnats-3.113.orig/gnats/internal.c.orig
+++ /home/pdm/gnats/gnats-3.113.orig/gnats/internal.c
@@ -135,6 +135,7 @@
   fputs (buf, fp);
 
   fclose (fp);
+  chmod (path, 0644);
   unblock_signals ();
 }

    OS> What is wrong with my setup?

I don't think it is anything wrong with your setup.

    OS> BTW, I feel a bit unlucky to post this to a "Bug" mailing
    OS> list. Is there anywhere something like "gnats-user"?

I don't know any user list (there is a development list
gnats-devel@sourceware.cygnus.com), but what you describe definitely
belongs to the bug list, IMHO. :-)

Regards,

Milan Zamazal



reply via email to

[Prev in Thread] Current Thread [Next in Thread]