On Fri, Oct 06, 2006 at 10:30:01AM +0300, Jari Aalto wrote:
> Package: cron
> Version: 3.0pl1-97
> Severity: normal
> 
> When querying the current crontab:
> 
>   $ crontab -l
> 
> The message reads:
> 
>   crontabs/jaalto: Permission denied

Are you sure /var/spool/cron/crontabs/jaalto does not exist? Are your
permissions for /var/spool/cron/crontabs/ are correct?  Running crontab -l in
a user without crontabs it will say "no contrab for XXX". 

Could you please provide the output of running (as root):

- ls -lR /var/spool/cron/
- ls -la `which crontab`

That way I can verify if your installation is correct.

> Please improve error checking and messages. There are two problems in the
> current message:
> 
> 1) It suggests that the system has some file permission or owner -related
>    permission issue

I do believe that is the case, if the file does not exist crontab generates a 
different message.

> 2) The path name to item in question is not shown in full.

That is a bug, albeit a minor one.

> Please differentiate permission problems from missing files.

Crontab already does that, this certainly looks like a permission problem to
me but with additional information I cannot tell for sure.

Attachment: signature.asc
Description: Digital signature

Reply via email to