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

Re: NFS expert, please diagnose this



> I've mailed to debian-user twice earlier about this but I haven't
> gotten any responses at all.
> 
> If you know NFS, please try this an tell me if it works for you or
> not.
> 
> As it doesn't work for me and I think it wont work for you, I suppose
> I'd file a bug report but I don't know if it's the nfsd, libc, atd or
> some other package that isn't doing what it should. 
> 
> Appearently, stat-ing a file in a directory that is only readable for
> root from a program that is setuid root, that is on a nfs mounted
> partition fails.

Does adding a no_root_squash (like below) change anything?

/directory   host(no_root_squash)

Old versions of nfsd used to have "no_root_squash" by default, but
more recent ones don't (that's a lot more secure). When root_squash
is in effect, any request from uid=0 will be mapped to uid=nobody,
and thus root isn't allowed to access the directory.

> Here are some version that might be relevant (please ask if you need
> another package's version number):
> 
> base,	1.1.0-14
> libc5,	5.4.33-3

While you are at it, why not tell the version of nfsd (netstd)?

-- 
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/





--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: