samba problem with cups changing /var/spool/lpd/lp access permissions
Hi List, When I set access permissions on /var/spool/lpd/lp to public writeable, my samba does work fine, but when i restart, cups (?) changes them back to rwx------ lp lp i can't find any file where i could configure cups not to do so - is there one? is there another possibility except running a script at startup that changes those permissions? The message Permissions for /var/spool/lpd ? From: Robert Casties (robert.casties@philo.unibe.ch) at Fri Nov 12 1999 - 04:54:41 PST matches my problem and changing /var/spool/lpd permissions doenst work with me (doenst affect anything). thanks&ciao Jochen
Jochen, You are approaching this problem from the wrong angle; Cups is doing the right thing but I think your Samba is misconfigured. Look in the printers section of your smb.conf and change the path directive to somewhere outside the lpd area that is world-writable. We use /tmp, but you might want to create /var/spool/samba or something. Bob On Thu, 2 May 2002, Jochen Staerk wrote:
Hi List,
When I set access permissions on /var/spool/lpd/lp to public writeable, my samba does work fine, but when i restart, cups (?) changes them back to rwx------ lp lp
i can't find any file where i could configure cups not to do so - is there one? is there another possibility except running a script at startup that changes those permissions?
The message Permissions for /var/spool/lpd ? From: Robert Casties (robert.casties@philo.unibe.ch) at Fri Nov 12 1999 - 04:54:41 PST matches my problem and changing /var/spool/lpd permissions doenst work with me (doenst affect anything).
thanks&ciao Jochen
-- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
============================================================== Bob Vickers R.Vickers@cs.rhul.ac.uk Dept of Computer Science, Royal Holloway, University of London WWW: http://www.cs.rhul.ac.uk/home/bobv Phone: +44 1784 443691
Jochen,
You are approaching this problem from the wrong angle; Cups is doing the right thing but I think your Samba is misconfigured. Look in the printers section of your smb.conf and change the path directive to somewhere outside the lpd area that is world-writable. We use /tmp, but you might want to create /var/spool/samba or something.
well, thanks bob, you're right&i'll try.... to be honest i've never thought of that. Jochen
participants (2)
-
Bob Vickers
-
Jochen Staerk