Solved

ls won't work on nfs mounted file system

Posted on 1997-12-18
5
443 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 100 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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

717 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