* Problems with lprsetup
@ 1998-11-23 5:00 Urs Marti
0 siblings, 0 replies; only message in thread
From: Urs Marti @ 1998-11-23 5:00 UTC (permalink / raw)
Hi there
I tried to set up a new (remote) printer using lprsetup, say,
"test1_var". Since I don't want the standard settings for the spooling
directory (sd) and printer error file (lf), I enter
"/var/spool/test1_var" and "/var/adm/lpd_err/test1_var", respectively.
After entering all information, lprsetup reports the following errors:
--- start output ------
lprsetup not allowed to chmod(/var/spool/test1_var, 0755)
Cannot chmod /var/spool/test1_var to mode 0755
/var/spool/test1_var: Read-only file system
lprsetup not allowed to chmod(/var/adm/lpd_err/test1_var, 0644)
Cannot chmod /var/adm/lpd_err/test1_var to mode 0644
/var/adm/lpd_err/test1_var: Read-only file system
--- end output ------
The strange thing is, when I set up a printer "test1_usr", where I only
replace "/var" with "/usr", it works just fine. No errors, nothing. The
files are created in exactly the same place, since /var is just a link
to /usr/var.
A listing of the files created: (with ls -ld)
-rw-r--r-- 1 daemon daemon 0 Nov 23 10:59
/var/adm/lpd_err/test1_usr
-rw-r--r-- 1 root adm 0 Nov 23 11:01
/var/adm/lpd_err/test1_var
drwxr-xr-x 2 daemon daemon 8192 Nov 23 11:12
/var/spool/test1_usr
drwxr-xr-x 2 root system 8192 Nov 23 11:12
/var/spool/test1_var
So, when I use /var instead of /usr, lprsetup obviously can't chmod the
created files to daemon:daemon.
Does anyone know of this problem? Or even how to fix it?
Thanks for any replies!
Urs
--
Urs Marti System Manager UNIX/Oracle
SW Thun phone: +41-33-2283077
Allmendstrasse 86 fax : +41-33-2283039
3602 Thun mailto:Urs.Marti@gr.admin.ch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-11-23 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-23 5:00 Problems with lprsetup Urs Marti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox