From Bugzilla Helper:
User-Agent: Mozilla/4.72 [en] (X11; U; Linux 2.2.18-27 i586)
Description of problem:
I get a permission denied on HP-UX(10.20) or Linux (7.1 & 7.0) when i try
to mount a nfs volume (on a redhat 7.1 box) that is a re-exported ncpfs. If
it is a Redhat 7.0 box that is re-exporting the ncpmounted volume, i have
no problems. It also works fine on a Suse box. Is something wrong with
re-exporting a ncpmounted volume in Redhat 7.1 ?
Steps to Reproduce:
1. On a RedHat 7.1 box, mount a ncpfs with something like ' ncpmount -S
server -U user -P password -g 99 -u 99 -f 666 -d 777 -V ncpvolume
2. Now on that same box put ' /mount_point
*(rw,all_squash,anongid=99,anonuid=99) ' in the /etc/exports. This will
(hopefully) export the ncpmounted volume.
3. Now on another unix/ linux machine add this in the /etc/fstab, '
Redhat7_1:/ncpmountpoint /local_mount_point nfs bg,time0=15,rw,suid
0 0 ' . Of course, the ' Redhat7_1:/ncpmountpoint ' refers to the RedHat
7.1 server in lines 1 and 2 that is re-exporting that ncp volume via nfs.
4. NOW, if you try to ' mount /local_mount_point ' on your unix/linux box
then you will get a permission denied !!
5. If you do this same setup but use redhat 7.0 or 6.2 (instead of redhat
7.1) for the nfs server (that is re-exporting the ncpmounted volume), IT
WILL WORK FINE !!
Comprende ? Sorry if i over-explained this, just trying to make it clear !
Actual Results: If you use the Redhat 7.1 knfsd to re-export a ncpmounted
volume, you get a permission denied (even with firewall disabled). I have
tried hard to locate what permissions might be getting in the way, but i
always get permission denied. If it is redhat 7.0 or 6.2 knfsd that is
ncpmounted volume, then i have no problems at all mounting the volume with
other unixes or linuxes.
Expected Results: You should be able to mount (via nfs) this re-exported
ncpfs volume in RedHat 7.1.
The most interesting thing is that if you ncpumount (unmount the ncpfs) the
novell volume, YOU CAN THEN MOUNT THE exported nfs volume on the RedHat 7.1
box. So permissions get screwed when you ncpmount the novell volume that is
re-exported via nfs to another
OK, i think i have repeated myself enough !!
OH yea, just wanted to mention- Of course i do the `exportfs -a` and restart the
nfs daemons after
i set up the test scenario above.
ITs weird ! IF i ` cat /proc/fs/nfs/exports ` on the RedHat 7.1 nfs server ,
The options are different than the ones in the /etc/exports.
The /proc/fs/nfs/exports ' read:
This does not make sense !
Closing old bugs for dead packages that have no maintainers. Please refile
against current packages/products if still relevant.