home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!usenet.ins.cwru.edu!cleveland.Freenet.Edu!aj651
- From: aj651@cleveland.Freenet.Edu (Bob James)
- Newsgroups: comp.os.coherent
- Subject: Re: Not enough permissions for root?
- Date: 21 Jan 1993 21:27:26 GMT
- Organization: Case Western Reserve University, Cleveland, OH (USA)
- Lines: 27
- Message-ID: <1jn4fuINNd8q@usenet.INS.CWRU.Edu>
- References: <9301191709.25@phzzzt.uucp> <1993Jan11.171350.7446@netcom.com>
- Reply-To: aj651@cleveland.Freenet.Edu (Bob James)
- NNTP-Posting-Host: slc10.ins.cwru.edu
-
-
- In a previous article, mfaurot@phzzzt.uucp (Michael Faurot) says:
-
- >messina@netcom.com (Tony Porczyk) writes:
- >:
- >: I may be confused, but shouldn't 'root' be able to read and see
- >: ALL files on the system (outside of crypted ones, of course)?
- >: Well, when I go into the directory /usr/man/COHERENT my ls
- >: aborts and says I don't have permissions as root to see any
- >: files. When I execute ls from above (usr/man) into that
- >: directory, it works just fine. Anyone has an explanation for
- >: that? (Yes, I know user bin will work fine).
- >
- >What's happening is that when you type "ls" from within the directory
- >/usr/man/COHERENT the man page file "ls" is being found before the
- >binary /bin/ls. If you type /bin/ls from within there this will work
- >instead. The same thing will happen if you attempt to change root's
- >password when logged to the /etc directory and try to run the "passwd"
- >program.
-
- moral always set current directory LAST in yer PATH
- eg: /bin:/usr/bin:
- ^{this is an empty field}
-
- --
- It was the best of times, it was the worst of times. Bob James (aj651)
-
-