Skip Menu |

This queue is for tickets about the Config-Crontab CPAN distribution.

Report information
The Basics
Id: 32658
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Config-Crontab

Owner: Nobody in particular
Requestors: miranda [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Cannot read other user's crontabs as super-user
Date: Fri, 25 Jan 2008 17:55:07 -0500
To: bug-Config-Crontab [...]
From: Miranda Ilechukwu <miranda [...]>
Download (untitled) / with headers
text/plain 834b
When running as "root", I have tried to read other users' crontabs using the documented methods but, the read() always fails. There is no error string available from error() either. I have tried: my $crontab = new Config::Crontab( -owner => 'someuser' ); $crontab->read; AND my $crontab = new Config::Crontab(); $crontab->owner('someuser'); $crontab->read; AND my $crontab = new Config::Crontab(); $crontab->read( -owner => 'someuser' ); In all cases, 'someuser' had a non-empty crontab but, the read() always failed. From the command line, I could execute "crontab -l someuser" successfully and see the crontab. My environment (uname -a): SunOS testing 5.10 Generic_127111-06 sun4u sparc SUNW,Sun-Fire-V240 Solaris Perl v5.8.8 built for sun4-solaris Config::Crontab v1.21 Cheers, Miranda Ilechukwu
This should be fixed in 1.33; I don't have a reliable SunOS box to verify. Please let me know.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to