[OpenAFS] permission weirds
Jeffrey Hutzelman
jhutz@cmu.edu
Tue, 18 Jul 2006 19:57:18 -0400
On Tuesday, July 18, 2006 04:51:24 PM -0700 Mike V <lookie4me@yahoo.com>
wrote:
> I installed the rpm on redhat (RHEL4). It seems okay for the most
> part, but one big problem. an 'ls' gives this weird permissions:
You didn't say which RPM(s), or what versions.
> drwxrwxr-x 2 edith darkstar 2048 Jul 18 12:27 Darkstar
> ?--------- ? ? ? ? ? Defines.hp
> ?--------- ? ? ? ? ? Defines.lnx
> ?--------- ? ? ? ? ? Defines_MDAS.sol10
> drwxrwxr-x 2 edith darkstar 2048 Jun 12 16:17 include
> drwxrwxr-x 2 edith darkstar 2048 Jun 27 15:57 Kwik
> drwxrwxr-x 2 edith darkstar 2048 Jun 27 15:57 kwikkat
This is what ls does when stat() returns an error. Older versions printed
an error message to stderr and omitted the file from the listing. If you
don't like the change, complain to whoever maintains 'ls'.
> Files are bad. I can't 'cat' them.
Well, you haven't said what happens when you try, but I'm going to guess
that you get an error message like "foo: Permission denied", which is what
happens when you try to access a file to which you don't have access.
Check the permissions on that directory, and your tokens.
-- Jeffrey T. Hutzelman (N3NHS) <jhutz+@cmu.edu>
Sr. Research Systems Programmer
School of Computer Science - Research Computing Facility
Carnegie Mellon University - Pittsburgh, PA