"at" cannot open .SEQ file

Bug #371536 reported by Alexis Wilke on 2009-05-04
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
at (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: at

When testing the "at" command in a console, I got this after upgrading to Intrepid:

Cannot open lockfile /var/spool/cron/atjobs/.SEQ: Permission denied

The /var/spool/cron permissions are as expected (see /var/lib/dpkg/info/at.postinst for more info).

However, when I checked out the /usr/bin/at command, it was missing the u+s permission. Is that intended? If so, should the .SEQ be g+rw too? At this time it is -rw------- (u+rw only).

By doing this:

chmod u+s /usr/bin/at

it fixed my problem, but it feels wrong if the security could prevent the user setuid...

On the other hand, it was that way in older systems (8.04 still has the u+s flag turned on.)

Thank you.
Alexis Wilke

P.S. There is the version, and also I tried an "apt-get install --reinstall at" to see whether the permissions would be magically fixed and nothing was changed...

||/ Name Version Description
+++-====================-====================-====
ii at 3.1.10.1ubuntu3 Delayed job execution and batch processing

Alexis Wilke (alexis-m2osw) wrote :

Just to mention, I'm not on 10.04 and the at command has the setuid flag set:

ls -l /usr/bin/at
-rwsr-sr-x 1 daemon daemon 52112 2010-03-04 18:42 /usr/bin/at

Thank you.
Alexis

Alexis Wilke (alexis-m2osw) wrote :

Sorry, "not" => "now" -- I've got a problem with that word, obviously!

Jorrit Kronjee (jorrit-wafel) wrote :

Fixed in 10.04.

Changed in at (Ubuntu):
status: New → Invalid
suntania (ozerki) wrote :

10.10
also in Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=337132

solution: fix permissions: sudo chown daemon:daemon /var/spool/cron/atjobs/.SEQ

Changed in at (Ubuntu):
status: Invalid → New
Dave Gilbert (ubuntu-treblig) wrote :

Not sure when it was fixed, but looks OK in Quantal (that bug is still open in Debian, but that can be followed in their tracker).

$ ls -l /usr/bin/at
-rwsr-sr-x 1 daemon daemon 55480 Jun 11 10:03 /usr/bin/at

ii at 3.1.13-2ubuntu amd64 Delayed job execution and batch processing

Changed in at (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.