From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,424286c17d620025,start X-Google-Attributes: gidfee84,public From: Urs Marti Subject: Problems with lprsetup Date: 1998/11/23 Message-ID: <365949C9.F21874CB@writeme.com>#1/1 X-Deja-AN: 414764704 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@ubnnews.unisource.ch X-Trace: ubnnews.unisource.ch 911821310 16500 (None) 193.5.216.41 Organization: Unisource Business Networks (post doesn't reflect views of Unisource) Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 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