| Avinash Chopde on Thu, 15 Nov 2001 18:17:59 +0100 (CET) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| problems - file/dir permissions... |
Running Slackware 8.0 Linux, and ran apsfilter SETUP as root. Didn't work, I use a umask of 027 (no read/write/exe for others). The first error was apsfilter could not read the rc files. Since SETUP was run by root, they were not readable by others, so manually changed to: -r--r--r-- 1 root root 7093 Nov 10 17:15 apsfilterrc Still did not work, forgot the /etc/apsfilter/lp/ directory permissions. Well, then it worked, though the printout was garbled (still, progress!) Noticed another error in /var/spool/lpd/lp/log: /etc/apsfilter/basedir/bin/apsfilter: /var/spool/lpd/lp/cfA013bombay1: Permission denied The /var/spool/lpd/lp folder has these permissions: drwxrwxr-x 2 root lp 4096 Nov 14 20:56 . So, looks like apsfilter is not even being run as the "lp" group (slackware config problem?) Anyway, the story above shows the multiple file permission problems I've had to deal with - is there some basic step I forgot to perform, or is umask 027 for all users (including root) basically caused the apsfilter to be incorrectly installed? -- Avinash Chopde e-mail: avinash@acm.org home page: http://www.aczone.com/