Re: Spurious permission denied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2012-06-19 at 11:58 +0200, Christoph Bartoschek wrote:
> Hi,
> 
> we still have the problem that some users get permission denied for 
> directories they normally can access. The problem only affects a single user 
> at a time and automatically goes away after about 30 minutes.
> 
> It seems to be a server problem because this happens on all client machines 
> at the same time.
> 
> Here is how it looks like:
> 
> [bartosch@r1106i12 ~]$ ls /afs/eda/prod
> ls: cannot open directory /afs/eda/prod: Permission denied
> [bartosch@r1106i12 ~]$ id
> uid=348(bartosch) gid=200(vls) 
> groups=200(vlsi),100(users),201(zab),900(ibm),901(iba),902(ama),1001(eda),2030(asi),2057(ecl),41999(tra)
> [bartosch@r1106i12 ~]$ 
> 
> I have attached the network traffic that was exchanged between the NFS 
> server and the client for the ls command captured by wireshark.
> 
> Accessing the directory /afs/eda works as expected.
> 
> Has anyone an idea what could be wrong?

NFSv3 doesn't use the mode bits to determine access rights, so looking
at a GETATTR call isn't really that helpful. You need to catch the
original ACCESS call and reply in order to figure out what caused the
permission denied issue.

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com

��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux