From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Nilsen To: "'Verdeyen, Michael'" Cc: "'gnats-devel@sourceware.cygnus.com'" Subject: RE: Gnats & Gnatsweb 2.6 Date: Thu, 20 Jul 2000 05:57:00 -0000 Message-id: <1188DB8D58CAD211A8E30008C79F8A0517E1C7@ukwssrv01.kverneland.com> X-SW-Source: 2000-q3/msg00016.html gnatsd is running as user gnats. I've tried varios permissions to the locks directory, but no matter what I do it always result in the "Permission denied" error. What puzzles me a bit is that the lock file is created as soon as I click on "submit edit", but it is given -rw-r--r-- permissions (where user & group is gnats). But if you use edit-pr from the command line, the lock file is generated as soon as you hit enter and not released before the edit session is ended, and the permissions are -rw-r--r-- with root as user, and for group (logged in as ). Shouldn't the lock file be generated when you start editing the PR and released once you click on "Submit-edit"? Regards, Thomas Kverneland IT AS -----Original Message----- From: Verdeyen, Michael [ mailto:Michael.Verdeyen@mchugh.com ] Sent: 20. juli 2000 13:20 To: Thomas Nilsen Subject: RE: Gnats & Gnatsweb 2.6 What about the gnatsd process? What user is it running as? gnatsweb.pl just talks to gnatsd to do its work (at least that's how it works in my configuration) -----Original Message----- From: Thomas Nilsen [ mailto:Thomas.Nilsen@Kverneland.com ] Sent: Thursday, July 20, 2000 2:55 AM To: 'gnats-devel@sourceware.cygnus.com' Subject: Gnats & Gnatsweb 2.6 I've set up gnats v3.113 and gnatsweb 2.6 on a RH 6.2 Linux box. Everything seems to work fine except for editing PRs from within the Gnatsweb interface. Once I click on the "submit-edit" button, the following error is produced: Error:GNATS server cannot create lock file: Permission Denied. This error is produced when I set /usr/share/gnats/gnats-db/gants-adm/locks with owner as gnats. But even though the error says it cannot create the lock file, a lock file is produced in this directory. However, with the default installation (installed as a RPM binary) the locks directory did not exist. After giving locks/ the same permissions as the rest of the gnats folders, Gnatsweb comes up with the following error: Error:Cannot create lock file /usr/.../gnats-adm/locks/xx.lock where xx is the PR number. Using edit-pr on the command line as a standard user works fine, so the problem must be with Gnatsweb and the permission settings on the locks directory. Can anyone tell me what it is supposed to be? Apache is running as user/group nobody. Regards, Thomas Nilsen Global Services Kverneland IT AS Phone: +44 1380 72 23 61 Ext. 201 - Mobile: +47 95258962