Operating System - Linux
1828491 Members
2217 Online
109978 Solutions
New Discussion

Re: Can't view the file list from mount path

 
SOLVED
Go to solution
juno2
Super Advisor

Can't view the file list from mount path

I export the path from hostA , the file /etc/exports is
"/tmp/edp hostB(rw,sync)"

, now the hostB is successfully mount to hostA,
however, the hostB can read the file content of all files under /tmp/edp , but can't view the file list by the command "ll or ls" , can suggest what is the problem in my system ? thx.
1 REPLY 1
Mark Grant
Honored Contributor
Solution

Re: Can't view the file list from mount path

I might misunderstand you here.

How did you view the file contents without being able to see the files? did you just know the names of them?

If so, I would guess you don't have read permission on the directory edp. Possibly because the user id on hostA is different than on hostB whihc would make who has read access different on HostB.
Never preceed any demonstration with anything more predictive than "watch this"