:: Re: [DNG] Printing -- now a permiss…
Góra strony
Delete this message
Reply to this message
Autor: Rainer Weikusat
Data:  
Dla: dng
Temat: Re: [DNG] Printing -- now a permissions problem
Hendrik Boom <hendrik@???> writes:

[...]

> Correct:
> root@notlookedfor:/home/hendrik# ls -ald /var/spool/lpd/hl3170cdw
> drwx------ 2 daemon lp 4096 Oct 5 14:40 /var/spool/lpd/hl3170cdw
> root@notlookedfor:/home/hendrik#
>
> But with lpr being suid root, should that matter? At least, I think
> tht's what the s's mean:
>
> root@notlookedfor:/home/hendrik# which lpr
> /usr/bin/lpr
> root@notlookedfor:/home/hendrik# ls -l /usr/bin/lpr
> -rwsr-sr-x 1 root lp 26536 Nov 20 2014 /usr/bin/lpr
> root@notlookedfor:/home/hendrik#


JFTR: You're idea of the meaning of the s (first setuid, second setgid)
is correct.