at -c : Permission denied

Bug #1374 reported by doopdoop on 2005-07-11
6
Affects Status Importance Assigned to Milestone
at (Ubuntu)
Medium
Unassigned

Bug Description

(breezy and hoary)
At seems to get mixed up with the permissions.
This is the same with users and root.

----snip----
wiermer@babbage:~$ at 12:30
warning: commands will be executed using /bin/sh
at> echo "Hello"
at> <EOT>
job 16 at 2005-07-12 12:30
wiermer@babbage:~$ atq
16 2005-07-12 12:30 a wiermer
wiermer@babb...

(breezy and hoary)
At seems to get mixed up with the permissions.
This is the same with users and root.

----snip----
wiermer@babbage:~$ at 12:30
warning: commands will be executed using /bin/sh
at> echo "Hello"
at> <EOT>
job 16 at 2005-07-12 12:30
wiermer@babbage:~$ atq
16 2005-07-12 12:30 a wiermer
wiermer@babbage:~$ ls -l /var/spool/cron/atjobs/
insgesamt 4
-rwx------ 1 wiermer daemon 1621 2005-07-11 19:44 a00010011d2076

wiermer@babbage:~$ at -c 16
Cannot open a00010011d2076: Permission denied

wiermer@babbage:~$ atrm 16
wiermer@babbage:~$
----snip----

atrm works

Daniel Robitaille (robitaille) wrote :

That bug is also present in the Ubuntu Bugzilla:
https://bugzilla.ubuntu.com/12825

Daniel Robitaille (robitaille) wrote :

Fixed in Breezy:

 at (3.1.8-11ubuntu5) breezy; urgency=low
   * at.c: Make at job files group readable (i. e. readable by 'daemon') to
     make "at -c <job>" work again. (Ubuntu #12825)

Changed in at:
status: New → Fixed
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.