On 01/24/2013 06:09 PM, Fernando de Oliveira wrote:
>
> Thank you, Armin.
>
> Sending to the list, so more people could reach using search tools
> (well, when the servers are back running without problems).
>
> Builds perfectly, and installs the new /etc/cups/cups-files.conf.
>
> I changed owner:
> chown -v 0:0 /etc/cups/{snmp.conf,cups-files.conf}
>
> However, as before in the older page of the book, without the
> cups-files.conf, when daemon is restarted, owner of cups-files.conf
> changes back to "root lp":
>
> # chown -v 0:0 /etc/cups/cups-files.conf
> changed ownership of "/etc/cups/cups-files.conf" from root:lp to 0:0
> root [ /etc/cups ]# ls -l /etc/cups/cups-files.conf
> -rw-r----- 1 root root 2892 Jan 24 13:19 /etc/cups/cups-files.conf
> root [ /etc/cups ]# /etc/rc.d/init.d/cups restart
> * Stopping CUPS Printserver...
> [ OK ]
> * Starting CUPS Printserver...
> [ OK ]
> root [ /etc/cups ]# ls -l /etc/cups/cups-files.conf
> -rw-r----- 1 root lp 2892 Jan 24 13:19 /etc/cups/cups-files.conf
>
> I have
>
> root [ /etc/cups ]# ls -l /media/Ubuntu32/etc/cups/cups-files.conf
> -rw-r--r-- 1 root root 2884 Dez 4 12:21
> /media/Ubuntu32/etc/cups/cups-files.conf
>
> but have no clue where or what to change for this to be persistent in
> BLFS.
>
> []s,
> Fernando
>
I think this handles conffile perms on Debian and Ubuntu
http://patch-tracker.debian.org/patch/series/view/cups/1.6.1-1/confdirperms.patch
I don't think it should be important. It was lpadmin, not lp group who
introduced the problems.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page