Hello Ansgar, > On 03/25/2013 11:19, Detlev Zundel wrote: >> I started debugging at and it turns out that 'at' cannot even read >> /etc/at.deny and thus concludes that no user except root should be >> allowed to use it (seen easily also in strace): >> >> bash[2]$ strace -e open atq > [...] >> open("/etc/at.deny", O_RDONLY) = -1 EACCES (Permission denied) >> You do not have permission to use atq. > > I wouldn't expect strace to work on suid binaries.
Ah, you're right there of course. The first instance was seen with gdb on a local build at however. Reproducing it with strace was only meant to be easier to show than copying a gdb transcript... >> The installed rights confirm this: >> >> bash[2]$ ls -l /etc/at.deny >> -rw-r-----. 1 root bin 144 Nov 30 2009 /etc/at.deny > > Why does the file belong to the "bin" group on your system? It should > belong to "daemon". To be honest, I have no clue. To this day I cannot remember meddling with at at all, so I cannot answer this question. > It does so in the binary package: > $ dpkg-deb -c at_3.1.13-2_amd64.deb | grep /etc/at.deny > -rw-r----- root/daemon 144 2012-06-09 13:46 ./etc/at.deny > > Please also include the permissions of /var/spool/cron/at* and > /usr/bin/at if there are still problems. Ah, your indication that there maybe consistency issues prompted me to purge and reinstall 'at' and everything now works for me. Unfortunately this also means that I do not know where the original problems came from but very likely this would have been very hard to reconstruct anyway. So thanks for the quick help and please go ahead and close the bug. Best wishes Detlev -- "Oh, didn't you know, the Lord did the original programming of the universe in COBOL." - "That's why the world is the evil work of Satan. A true divine being would have used Scheme." - "And, if so, Jesus would have been crucified on a big lambda symbol." -- K. Chafin, K. Schilling & D. Hanley, on comp.lang.lisp -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org