https://bugzilla.novell.com/show_bug.cgi?id=685093
https://bugzilla.novell.com/show_bug.cgi?id=685093#c5
--- Comment #5 from Johannes Meixner 2011-04-06 08:52:00 UTC ---
It seems in "man 7 backend" the term "world execute permissions"
is a bit vague because for me with CUPS 1.4.6 a test backend
with "-rwxr-x--- root lp" permissions was not run as root but as lp.
But a backend with "-rwx------ root lp" was run as root.
A backend with "-rws------ root lp" was refused to be executed
and in /var/log/cups/error_log there was
--------------------------------------------------------------------
Unable to execute /usr/lib/cups/backend/testy:
insecure file permissions (0104700)
--------------------------------------------------------------------
/usr/lib/cups/backend/testy is
---------------------------------------------------------------------
#! /bin/bash
if test "$#" -eq "0"
then echo 'direct testy "Unknown" "no device info"'
exit 0
fi
id >/tmp/testy.out
exit 0
---------------------------------------------------------------------
To set up a test queue use
# lpadmin -p testy -v testy:/ -E
Depending on the permissions of /usr/lib/cups/backend/testy
/tmp/testy.out contains either
---------------------------------------------------------------------
uid=4(lp) gid=7(lp) groups=7(lp)
---------------------------------------------------------------------
or
---------------------------------------------------------------------
uid=0(root) gid=7(lp) groups=0(root),7(lp)
---------------------------------------------------------------------
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.