LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-09-2006, 06:49 PM   #1
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 449

Rep: Reputation: 31
at-3.1.10-i486-1 -- permission problems in running


I updated to at-3.1.10-i486-1, and at nolonger works. /var/spool/cron has a line
"Oct 9 15:50:57 fsbooks atd[31288]: Job 1 !0000101271cde - groupid 100 does not match file gid 2".
It does not work with root either: "Oct 9 15:56:45 fsbooks atd[31401]: Job 3 !0000301271ce4 - groupid 0 does not match file gid 2".

I downgraded to at-3.1.8-i486-2 and everything seems to work as normal.

The script file I am trying to run is owned by me with 100 gid (users), which is my major group. /etc/cron.deny is empty; /etc/cron.allow does not exist. I am generally at slackware-current, though I have not upgraded all packages yet. I also added myself to the daemon group (2), which did not help (and root is of course in that group already, so I did not expect it to help).

Any ideas?

Last edited by fsbooks; 10-10-2006 at 10:20 AM.
 
Old 10-09-2006, 11:49 PM   #2
Sandman1
LQ Newbie
 
Registered: Jun 2005
Posts: 9

Rep: Reputation: 0
Crontab?

Did you ever edit the crontab without using "crontab -e" Check all the cron permissions
 
Old 10-10-2006, 10:32 AM   #3
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 449

Original Poster
Rep: Reputation: 31
No, the crontab has never been edited without using "crontab -e". Besides, my cronjobs ran without problem. The problem resulted when I upgraded to at-3.1.10, and disappeared when I reinstalled at-3.1.8. Perhaps there is a dependency on some other package or a new way of handling security? I looked at the doc in usr/doc/at-3.1.10 but it was the same as at-3.1.8, i.e. no updates.
 
Old 10-10-2006, 03:33 PM   #4
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 449

Original Poster
Rep: Reputation: 31
More information: Permissions do differ between at version 3.1.8 and at version 3.1.10.

at-3.1.8

-rw-r--r-- 1 root root 0 2003-11-23 17:22 /etc/at.deny
drwx------ 2 daemon daemon 1024 2006-10-10 13:11 /var/spool/atjobs/
-rw------- 1 daemon daemon 0 2006-10-10 13:11 /var/spool/atjobs/.SEQ
drwx------ 2 daemon daemon 1024 2003-11-23 17:22 /var/spool/atspool/
-rws--x--x 1 root bin 35456 2003-11-23 17:22 /usr/bin/at
-rwxr-xr-x 1 root bin 986 2003-11-23 17:22 /usr/bin/batch
-rwxr-xr-x 1 root bin 14608 2003-11-23 17:22 /usr/sbin/atd
-rwxr-xr-x 1 root bin 82 2003-11-23 17:22 /usr/sbin/atrun

at-3.1.10

-rw-r----- 1 root daemon 144 2006-08-02 18:55 /etc/at.deny.new
drwxrwx--T 2 daemon daemon 1024 2006-08-02 18:55 /var/spool/atjobs/
-rw------- 1 daemon daemon 0 2006-08-02 18:55 /var/spool/atjobs/.SEQ
drwxrwx--T 2 daemon daemon 1024 2006-08-02 18:55 /var/spool/atspool/
-rwsr-sr-x 1 daemon daemon 36484 2006-08-02 18:55 /usr/bin/at
-rwxr-xr-x 1 root root 152 2006-08-02 18:55 /usr/bin/batch
-rwxr-xr-x 1 root root 14504 2006-08-02 18:55 /usr/sbin/atd
-rwxr-xr-x 1 root root 82 2006-08-02 18:55 /usr/sbin/atrun

Also note, at.deny is no longer empty (though it was installed as at.deny.new, so that should not make a difference).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Permission issue while running live Rollotamasi Linux - Newbie 3 06-22-2006 09:34 AM
Permission Denied when running a program? tolvar Linux - Newbie 1 09-07-2005 09:18 AM
Permission Problem running nagios Mclewson Linux - Software 1 12-19-2004 11:45 AM
Permission problem running firefox somatizer Linux - Newbie 1 06-02-2004 07:09 PM
Mandrake 9.1 running VMware 4, Permission issues Enigmus Linux - Software 2 08-10-2003 08:11 AM


All times are GMT -5. The time now is 05:02 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration