[OpenAFS] permission weirds

Mike V lookie4me@yahoo.com
Tue, 18 Jul 2006 17:05:42 -0700 (PDT)


--0-695678232-1153267542=:55651
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit



Jeffrey Hutzelman <jhutz@cmu.edu> wrote:  

On Tuesday, July 18, 2006 04:51:24 PM -0700 Mike V  
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.
    
  Redhat 4 using kernel 2.6.9-34.ELsmp
  AFS rpms:
  openafs-client-1.4.1-rhel4.2
  openafs-kernel-1.4.1-2.6.9_34.EL_2
  openafs-debuginfo-1.4.1-rhel4.2
  openafs-compat-1.4.1-rhel4.2
  openafs-kernel-smp-1.4.1-2.6.9_34.ELsmp_2
  krbafs-1.2.2-6
  openafs-1.4.1-rhel4.2
  openafs-kpasswd-1.4.1-rhel4.2
  krbafs-devel-1.2.2-6
  openafs-krb5-1.4.1-rhel4.2
  openafs-authlibs-1.4.1-rhel4.2


>   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.

  You're right, I get 'permission denied'
  I have a token and permissions are okay as far as I know. These same files can be accessed from a Solaris system.
  Did I get all the necessary rpms installed? An ACL compat issue?
  
-- Jeffrey T. Hutzelman (N3NHS) 
   Sr. Research Systems Programmer
   School of Computer Science - Research Computing Facility
   Carnegie Mellon University - Pittsburgh, PA

_______________________________________________
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info



.
 		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
--0-695678232-1153267542=:55651
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<br><br><b><i>Jeffrey Hutzelman &lt;jhutz@cmu.edu&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">  <br><br>On Tuesday, July 18, 2006 04:51:24 PM -0700 Mike V <lookie4me @yahoo.com=""> <br>wrote:<br><br>&gt;     I installed the rpm on redhat (RHEL4). It seems okay for the  most<br>&gt; part, but one big problem. an 'ls' gives this weird permissions:<br><br>You didn't say which RPM(s), or what versions.<br>    <br>  Redhat 4 using kernel 2.6.9-34.ELsmp<br>  AFS rpms:<br>  openafs-client-1.4.1-rhel4.2<br>  openafs-kernel-1.4.1-2.6.9_34.EL_2<br>  openafs-debuginfo-1.4.1-rhel4.2<br>  openafs-compat-1.4.1-rhel4.2<br>  openafs-kernel-smp-1.4.1-2.6.9_34.ELsmp_2<br>  krbafs-1.2.2-6<br>  openafs-1.4.1-rhel4.2<br>  openafs-kpasswd-1.4.1-rhel4.2<br>  krbafs-devel-1.2.2-6<br>  openafs-krb5-1.4.1-rhel4.2<br>  openafs-authlibs-1.4.1-rhel4.2<br><br><br>&gt;   drwxrwxr-x  2 edith darkstar 2048 Jul 18 12:27
 Darkstar<br>&gt;   ?---------  ? ?       ?            ?            ?  Defines.hp<br>&gt;   ?---------  ? ?       ?            ?            ?  Defines.lnx<br>&gt;   ?---------  ? ?       ?            ?            ?  Defines_MDAS.sol10<br>&gt;   drwxrwxr-x  2 edith darkstar 2048 Jun 12 16:17 include<br>&gt;   drwxrwxr-x  2 edith darkstar 2048 Jun 27 15:57 Kwik<br>&gt;   drwxrwxr-x  2 edith darkstar 2048 Jun 27 15:57 kwikkat<br><br>This is what ls does when stat() returns an error.  Older versions printed <br>an error message to stderr and omitted the file from the listing.  If you <br>don't like the change, complain to whoever maintains 'ls'.<br><br>&gt; Files are bad. I can't 'cat' them.<br><br>Well, you haven't said what happens when you try, but I'm going to guess <br>that you get an error message like "foo: Permission denied", which is what <br>happens when you try to access a file to which you don't have access.<br><br>Check the permissions on that directory, and your
 tokens.<br><br>  You're right, I get 'permission denied'<br>  I have a token and permissions are okay as far as I know. These same files can be accessed from a Solaris system.<br>  Did I get all the necessary rpms installed? An ACL compat issue?<br>  <br>-- Jeffrey T. Hutzelman (N3NHS) <jhutz +@cmu.edu=""><br>   Sr. Research Systems Programmer<br>   School of Computer Science - Research Computing Facility<br>   Carnegie Mellon University - Pittsburgh, PA<br><br>_______________________________________________<br>OpenAFS-info mailing list<br>OpenAFS-info@openafs.org<br>https://lists.openafs.org/mailman/listinfo/openafs-info<br></jhutz></lookie4me></blockquote><br><BR><BR>.<p>&#32;
		<hr size=1>Yahoo! Messenger with Voice. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">Make PC-to-Phone Calls</a> to the US (and 30+ countries) for 2¢/min or less.
--0-695678232-1153267542=:55651--