LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-20-2011, 01:59 AM   #1
anti_user
Member
 
Registered: May 2008
Location: Russia, Ural
Distribution: Slackware Current
Posts: 69

Rep: Reputation: 4
Cron [may be bug with perms]


Hello! I found strange in logs of crontab...
Its may be permission problem, but this machine working with default slackware installation...
Code:
Mar 16 22:01:32 darkstar crond[1736]: /usr/sbin/crond 4.4 dillon's cron daemon, started with loglevel notice 
Mar 16 22:01:32 darkstar atd[1737]: Cannot change to /var/spool/atjobs: Permission denied
Mar 16 22:13:57 darkstar crond[1737]: /usr/sbin/crond 4.4 dillon's cron daemon, started with loglevel notice 
Mar 16 22:13:57 darkstar atd[1738]: Cannot change to /var/spool/atjobs: Permission denied
Machine working on current 13.37

This bug resolved in http://bugs.gentoo.org/show_bug.cgi?id=111982 by change perms to 755 to /var/spool/atjobs

Last edited by anti_user; 03-20-2011 at 02:31 AM.
 
Old 03-20-2011, 03:07 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Strange, i don't find that error message on my log
 
Old 03-20-2011, 04:01 AM   #3
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,783

Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
Quote:
Originally Posted by anti_user View Post

This bug resolved in http://bugs.gentoo.org/show_bug.cgi?id=111982 by change perms to 755 to /var/spool/atjobs
Nope, in the gentoo problem the permissions were wrong for the ROOT directory /.

In slackware, /var/spool/atjobs should be mode 1770, user daemon, group daemon. Now when you changed it to 755, everyone can see who has atjobs, if you still can queue atjobs in the first place (you removed the write bit for group).

By the way, this has nothing to do with cron.
 
  


Reply

Tags
cron



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
adding a perl script to cron.daily / cron.d to setup a cron job CrontabNewBIE Linux - Software 6 01-14-2008 08:16 AM
Possible Bug in Slackware 12 cron-handling ? hb950322 Slackware 8 12-23-2007 02:38 AM
cron not working from crontab nor form /etc/cron/cron.d. What did SuSE change? JZL240I-U SUSE / openSUSE 11 01-04-2007 01:57 AM
cron bug? linux_terror Linux - Software 7 09-07-2004 11:38 AM
cron+vim bug treebeard Slackware 3 09-30-2002 10:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration