On Mon, 22 May 2006 12:20:09 -0500, McKown, John <[EMAIL PROTECTED]> wrote: >> Subject: nfs server >> >> HI! >> We have Z/OS UNIX NFS SERVER(10.200.5.59), >> On Z/VM SLES9 , we mounted : >> mount -o vers=2,proto=udp 10.200.5.59:zoca /mnt >> >> succesfully. >> >> On Z/VM SLES9 we type command >> >> pttlin1:/ # df -h >> Filesystem Size Used Avail Use% Mounted on >> /dev/dasdb2 1.7G 1.4G 269M 84% / >> /dev/dasda1 137M 5.7M 124M 5% /boot >> /dev/dasdc1 2.3G 1.1G 1.3G 47% /usr >> shmfs 123M 0 123M 0% /dev/shm >> 10.200.5.59:zoca 118M 59M 59M 50% /mnt >> pttlin1:/ # >> >> However, >> >> When we type commands >> >> pttlin1:/ # cd /mnt >> pttlin1:/mnt # ls -l >> total 0 >> >> ------------------------ >> >> We Unable to See Files on a Mounted File System! >> >> What's the problem? >> >> Is there problem with z/vm sles9 nfs client with Z/OS UNIX NFS SERVER? >> >> -------------------------------- >> >> BEST REGARDS, >> >> Zoran Trifunovic > >Zoran, > >It appears, by the prompt, that you are the "root" on your SLES9 system. >Correct? One thing that is normally done by NFS for security purposes to >to map the "root" user ( or UID(0) user) to "nobody". From looking at >some doc, it appears that this UID is -2. If that UID on z/OS does not >have "execute" authority to the "zoca" subdirectory on z/OS, then you >will see exactly what you are seeing: Nothing. For the "ls" command to >work properly, the user running it must have at least "execute" >authority on the directory in question. Maybe even "read" authority. >Sorry, I'm a bit hazy on this. > >Look in your NFSATTR being used by the z/OS NFS server and see if you >have "setownerroot" or "setownernobody" > >So, the question becomes, what are the attributes of the "zoca" >subdirectory? > >ls -ld /path/to/zoca > >if you want, try (on the z/OS system!): > >chmod o+x /path/to/zoca >chmod o+r /path/to/zoca > >and see if that helps. > >The above two command will set "execute" and "read" authority to "other" >(non-owner, non-group) users. > >Good luck!
Zoran, Also check with your z/OS Systems Programmer and ask for the mvslogin/mvslogout/showattribute code which needs to be compiled on Linux. There is a requirement that the NFS client (on Linux) authenticate itself to the z/OS security package so that subsequent read/write/create/delete will be allowed. The mvslogin/mvslogout/showattribute support for Linux was introduced at version 1.7 of MVS NFS Server. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

