From: Urs Marti <ursmarti@writeme.com>
Subject: Problems with lprsetup
Date: 1998/11/23 [thread overview]
Message-ID: <365949C9.F21874CB@writeme.com> (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
reply other threads:[~1998-11-23 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox