?
Solved

ls won't work on nfs mounted file system

Posted on 1997-12-18
5
Medium Priority
?
448 Views
Last Modified: 2013-12-27
Some users can't access files on their home directories unless they are logged in to the NFS server. They can get to the directory, but an ls command shows no files. There are files, because we can see them on the server.
Any ideas? BTW, the server runs SunOS 4.1.3_U1, most clients are using Solaris 2.X.
0
Comment
Question by:wiseowl
5 Comments
 
LVL 3

Expert Comment

by:rickyr
ID: 2008415
Hiya..
Can you telnet to the server from the clients?
Can you supply a long listing of the the directory above where these (invisible) live on the server and client, Could be permission problems.
A list of the /etc/vfstab on the clients, and a list of /etc/dfs/dfstab for the server, they may not be configured for NFS volumes correctly?
A list of /etc/hosts? could prove usefull?
Also anything show on the console of either client/server?

I know these could be private, but change the sensitive entries to strings if you want.

regards
0
 
LVL 3

Expert Comment

by:rickyr
ID: 2008416
Oh yes point 1.
Users CAN log in, I see, so its got to be down to NFS conf or permissions?
regards
0
 
LVL 10

Expert Comment

by:rbr
ID: 2008417
Are the UID's and the GID's the same on server and client? Can you use ls if you set all file permisions to a+rxw? (Try this for one user)
0
 

Expert Comment

by:grantk
ID: 2008418
How are the users syncronized?
Passwd files or NIS?
0
 
LVL 12

Accepted Solution

by:
Otta earned 300 total points
ID: 2008419
It's a problem with UNIX "file-permissions".
Move "up" one level,
and use 'ls -ld directory_name'
to show the permissions.
Then, try 'cd directory_name';
I think that it will fail,
with an "insufficient permission" message.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month16 days, 13 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question