Ray,
> You probably have a mismatch between those two sets of
> ownership/permissions. Running as root overrides the conflict (since root
Aha! Sorry, I didn't know what you were seeking, and so failed to
understand your points properly. My apologies.
> 1. I'd like to see the ownership of and permissions on the directory
> /var/spool/lpd/lp itself, not on its contents. To do that, I guess you need
> to run
>
> ls -l /var/spool/lpd |grep lp
[root@localhost /root]# ls -l /var/spool/lpd | grep lp
drwxr-xr-x 2 root lp 2048 Jul 22 11:03 lp
-rw-r--r-- 1 root root 6 Jul 22 10:33 lpd.lock
> 2. The lpd I want to see ownership of and permissions on is the executable,
> not the spool directory. Probably " ls -l /usr/sbin/lpd" .
[root@localhost /root]# ls -l /usr/sbin/lpd
-rwxr--r-- 1 root root 51696 Feb 14 14:13 /usr/sbin/lpd
I suspect I know what happened. In an effort to track down another
problem I changed permissions for /usr/sbin, which didn't help, and
may have reverted to incorrect permissions for the directory
(something about a china shop). At present it is:
[root@localhost /root]# ls -l /usr | grep sbin
drwxr-xr-x 2 root root 5120 Apr 19 11:49 sbin
Perhaps if I knew what this should be, it would solve my problem.
Haines Brown
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs