weird ls behavior after ln/rm of dir from other user
While trying to make a mounted directory containing images available to
my wife on another computer, I created a soft link in her home dir, to
the /usr/local/film subdirectory (which I had already mounted through a
soft link in my own home dir). She could not read the contents from
her computer.
I deleted her soft link, tried it again in a different location, and
deleted again. From my own directory now, I get a really weird result
when trying to see the directory itself:
------------------
06:19:07
daddy:~# ls -l /usr/local/film/
total 0
?--------- ? ? ? ? ? /usr/local/film/camera
?--------- ? ? ? ? ? /usr/local/film/cd
?--------- ? ? ? ? ? /usr/local/film/lost+found
?--------- ? ? ? ? ? /usr/local/film/movies
?--------- ? ? ? ? ? /usr/local/film/temp
?--------- ? ? ? ? ? /usr/local/film/vaughanPix
06:19:10
daddy:~# su
Password:
[1] Done HISTIGNORE=
hpotter:/home/daddy# ls -l /usr/local/film/
total 36
drwxrwxr-x 6 daddy daddy 4096 2006-06-03 12:35 camera
drwxrwxr-x 4 daddy daddy 4096 2006-08-12 16:36 cd
drwx------ 2 root root 16384 2005-01-21 19:43 lost+found
drwxr-xr-x 2 daddy daddy 4096 2006-05-28 00:17 movies
drwxr-xr-x 3 daddy daddy 4096 2006-06-04 08:50 temp
drwxr-xr-x 17 daddy daddy 4096 2006-06-02 10:41 vaughanPix
----------------
I don't know if something got screwed via NFS or a misplaced/lost link
or whatever, but cannot get it smoothed out. I ran e2fsck with no
luck, rebooted with no change, and don't know what else to do.
My wife can see the contents of the directory like root.
Does anyone have any thoughts/suggestions about this?
Kenward
--
In a completely rational society, the best of us would aspire to be
_teachers_ and the rest of us would have to settle for something less,
because passing civilization along from one generation to the next
ought to be the highest honor and the highest responsibility anyone
could have. - Lee Iacocca
Reply to: