The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-23-2002
dbinsol1 dbinsol1 is offline
Registered User
  
 

Join Date: May 2002
Posts: 5
File and Directory Names become hidden

Something very weird has been happening when I'm creating files and directories. When I create a directory, at times depending on the directory name and depth, it becomes hidden and can only be seen typing "ls -a". When I say the name of the directory matters, "my_c++" will be hidden but using the name "testdir" will be fine. Even more puzzling is the problem when I'm creating files. Again it depends on the name. A file name "dat052302" is okay, but "dat052302.dos" becomes hidden, and "ls -a" or "ls -l" doesn't show the existing file. So when I type "ls" to list the contents of the directory, the new file is not in the list. This happens when I create the file using an editor, a c++ program, and by copying from another file! For example, if I copy a file that is not hidden, the destination file becomes hidden, so "cp dat052302 dat052302.dos" will create the "dat052302.dos" file but it will be hidden.

I'm using Sun Solaris 8, Ultra 10.

If anyone has encountered a similar problem or might know how to fix this, PLEASE let me know, I would greatly appreciate it.

Thanks