[OpenAFS] Re: openafs can not delete file

Benjamin Kaduk kaduk@MIT.EDU
Tue, 24 May 2016 22:50:32 -0400 (EDT)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---559023410-1750151575-1464144632=:26829
Content-Type: TEXT/PLAIN; charset=UTF-8
Content-Transfer-Encoding: QUOTED-PRINTABLE

Standard debugging steps in this scenario would be to try the ll again
after "fs flushv .", and to change directory to a local directory and then
try again to change to the new directory.

"aklog -force" is needed in the case where your group membership has
changed in the past few hours.

You also did not show the pts mem output that would confirm the current
user is in system:administrators.

-Ben

On Tue, 24 May 2016, zhaoxy299@ustc.edu.cn wrote:

> hi=EF=BC=8C
> the openafs has been  successfully  installed ,but i have met some proble=
ms.
> in one of my dir ,i have some files and dirs,use the ll command like this
> [cai@test-afs002 home]$ kdestroy
> [cai@test-afs002 home]$ kinit cai
> Password for cai@PC.COM:
> [cai@test-afs002 home]$ aklog
> [cai@test-afs002 home]$ tokens
>
> Tokens held by the Cache Manager:
>
> User's (AFS ID 6000) tokens for afs@pc.com [Expires May 25 02:53]
>    --End of list--
> [cai@test-afs002 home]$ ll
> ls: cannot access zhu: Connection timed out
> total 8
> drwxr-xr-x 2 cai      16777218 2048 May 23 15:29 cai
> drwxr-xr-x 3 16777219 16777218 2048 May 13 10:19 chen
> drwxr-xr-x 2 cai      eda      2048 May 24 16:37 test
> drwxrwxrwx 2 root     root     2048 May 21 01:24 xyzhao
> d????????? ? ?        ?           ?            ? zhu
> [cai@test-afs002 home]$ fs listacl test
> Access list for test is
> Normal rights:
>   system:administrators rlidwka
> [cai@test-afs002 home]$ fs listacl zhu
> fs: File 'zhu' doesn't exist
> [cai@test-afs002 home]$ fs setacl zhu system:administrators rlidwka
> fs: File 'zhu' doesn't exist
> [cai@test-afs002 home]$ rm zhu
> rm: cannot remove `zhu': Connection timed out
> [cai@test-afs002 home]$ fs listacl test
> Access list for test is
> Normal rights:
>   system:administrators rlidwka
> [cai@test-afs002 home]$
> i can not access the dir of zhu even if i am in the  system:adminitrators=
  group,i can not delete or setacl for this dir.i don not know how to solve=
 this problems.
---559023410-1750151575-1464144632=:26829--