LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   at-3.1.10-i486-1 -- permission problems in running (https://www.linuxquestions.org/questions/slackware-14/at-3-1-10-i486-1-permission-problems-in-running-490946/)

fsbooks 10-09-2006 05:49 PM

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?

Sandman1 10-09-2006 10:49 PM

Crontab?
 
Did you ever edit the crontab without using "crontab -e" Check all the cron permissions

fsbooks 10-10-2006 09:32 AM

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.

fsbooks 10-10-2006 02:33 PM

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).


All times are GMT -5. The time now is 12:09 AM.