Your message dated Wed, 10 Aug 2005 20:30:16 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#322499: at 3.1.9: permission errors, new files need to be 
created
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 11 Aug 2005 00:47:07 +0000
>From [EMAIL PROTECTED] Wed Aug 10 17:47:07 2005
Return-path: <[EMAIL PROTECTED]>
Received: from vms042pub.verizon.net [206.46.252.42] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E31Dv-0000Dn-00; Wed, 10 Aug 2005 17:47:07 -0700
Received: from [192.168.1.20] ([68.161.136.92])
 by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04
 (built Dec 24 2004)) with ESMTPA id <[EMAIL PROTECTED]> for
 [EMAIL PROTECTED]; Wed, 10 Aug 2005 19:47:06 -0500 (CDT)
Date: Wed, 10 Aug 2005 20:56:12 -0400
From: Rachel Rawlings <[EMAIL PROTECTED]>
Subject: at 3.1.9: permission errors, new files need to be created
To: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
Organization: ScrivoVivo: We write, we live.
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7bit
X-Accept-Language: en-us, en
User-Agent: Debian Thunderbird 1.0.6 (X11/20050802)
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: at
Version: 3.1.9

1. Lockfile /var/spool/cron/atjobs/.SEQ is not created by the package.
Errors result when

2. With the new daemon:daemon ownership, users are not able to use at
despite the presence of an empty /etc/at.deny file, in contradiction to
the man page.

3. Once a user has been added to /etc/at.allow, permission errors still
exist because the spool file is being created with the user's permissions.

$ sudo vi /etc/at.allow
$ echo "xmms -p" |at 0900
warning: commands will be executed using /bin/sh
Cannot open lockfile /var/spool/cron/atjobs/.SEQ: No such file or directory
$ sudo touch /var/spool/cron/atjobs/.SEQ
$ echo "xmms -p" |at 0900
warning: commands will be executed using /bin/sh
Cannot open lockfile /var/spool/cron/atjobs/.SEQ: Permission denied
$ sudo touch /var/spool/cron/atjobs/.SEQ
$ sudo chown daemon:daemon /var/spool/cron/atjobs/.SEQ
$ echo "xmms -p" |at 0900
warning: commands will be executed using /bin/sh
Cannot create atjob file /var/spool/cron/atjobs/a00001011dc9cc:
Permission denied
$ echo "xmms -p" |sudo at 0900
warning: commands will be executed using /bin/sh
job 4 at Thu Aug 11 09:00:00 2005
$ sudo ls -l /var/spool/cron/atjobs/
total 4
-rwx------  1 root daemon 2244 Aug 10 20:52 a00004011dc9cc

---------------------------------------
Received: (at 322499-done) by bugs.debian.org; 11 Aug 2005 03:30:17 +0000
>From [EMAIL PROTECTED] Wed Aug 10 20:30:17 2005
Return-path: <[EMAIL PROTECTED]>
Received: from h24-80-164-222.sbm.shawcable.net (straylight.cyberhqz.com) 
[24.80.164.222] (postfix)
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E33lp-0006S8-00; Wed, 10 Aug 2005 20:30:17 -0700
Received: from localhost (localhost.localdomain [127.0.0.1])
        by straylight.cyberhqz.com (Postfix) with ESMTP id E343936017;
        Wed, 10 Aug 2005 20:30:16 -0700 (PDT)
Received: from straylight.cyberhqz.com ([127.0.0.1])
        by localhost (straylight [127.0.0.1]) (amavisd-new, port 10024)
        with ESMTP id 30527-09; Wed, 10 Aug 2005 20:30:16 -0700 (PDT)
Received: by straylight.cyberhqz.com (Postfix, from userid 1000)
        id 1319836085; Wed, 10 Aug 2005 20:30:16 -0700 (PDT)
Date: Wed, 10 Aug 2005 20:30:16 -0700
From: Ryan Murray <[EMAIL PROTECTED]>
To: Rachel Rawlings <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED]
Subject: Re: Bug#322499: at 3.1.9: permission errors, new files need to be 
created
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="7WENQHN97/U9vH7R"
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02


--7WENQHN97/U9vH7R
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Aug 10, 2005 at 08:56:12PM -0400, Rachel Rawlings wrote:
> Package: at
> Version: 3.1.9

Are you actually using the Debian package, or building it for another syste=
m?

> 1. Lockfile /var/spool/cron/atjobs/.SEQ is not created by the package.
> Errors result when

In the Debian package, it's created in the postinst script.

> 2. With the new daemon:daemon ownership, users are not able to use at
> despite the presence of an empty /etc/at.deny file, in contradiction to
> the man page.

at needs to be able to read the file.  you need to change /etc/at.deny to
root:daemon ownership, with rw-r----- permissions.  The debian postinst scr=
ipt
does this on upgrades.

> 3. Once a user has been added to /etc/at.allow, permission errors still
> exist because the spool file is being created with the user's permissions.

The permissions on the at queue directories have changed to allow this to w=
ork
correctly.  Again, the debian postinst script does this:
        chown daemon:daemon /var/spool/cron/atjobs /var/spool/cron/atspool 
/var/sp=
ool/cron/atjobs/.SEQ
        chmod 1770 /var/spool/cron/atjobs /var/spool/cron/atspool=20

The makefiles have been modified to create the files and directories
with these permissions as well.


--7WENQHN97/U9vH7R
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC+sZIN2Dbz/1mRasRAqQjAKC/yikdPqKerxAAkq4JWzD41U0sSQCguRSw
WYBB6fGUVeJ201ju8G9nOM0=
=H+SE
-----END PGP SIGNATURE-----

--7WENQHN97/U9vH7R--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to