Thank's a lot for quick response!
As many of you suggested, there are hidden characters in the pathname:
# ls -lb
drwx------ 2 u970980 student 512 Sep 15 1997 u970980\015
#ls -l | cat -v -e -t
drwx------ 2 u970980 student 512 Sep 15 1997 u972613^M$
The solution is simple:
# mv u970980* u970980
I'm kind of embarrassed of this - reading the manual pages for "ls" could
have helped… It isn't even a Sun question - the problem just happens to run
on a Sun computer....
What happened: It was the start of the first semester, and 1000+ students
that want e-mail FAST. Some of the users were moved from a hpux-computer
(attacked by hackers) and some were made with data from the student database
(DOS). The first users got their home directories under /home (not too
smart in Solaris). A script to make the directories was made (probably using
source from the "cut" command (with wrong number in the parameter) on a
ASCII file?). This was my first time using Solaris, and the first time
administrating that many users - that's going to be easier next time!
Thanks a lot to
Alfred Blok
Casper Dik
Peter Allott
HCDEB@mead.com
Burak Baysal
Syed Zaeem Hosain
xuejinw@shubertorg.com
Rich Kulawiec
Igor Schein
David W. Blaine
Robert G. Ferrell
Theo Wawers
Ross Helfand
Roop Kumar
Thomas Lewis
kristian :)
Orginal message:
-------------------------------------------------------
I get the following messages when trying to access some
of the directories (as root).
# ls -l
drwx------ 2 u970980 student 512 Sep 15 1997 u970980
# cd u970980
u970980: does not exist
#
The user (or root) can not access it, except when using the file manager (in
CDE) on the console (!!!)
I'm not sure how I created the directories - I must have used "useradd" or a
home made script. Anyway - I can't see why this should be possible?
Any ideas?
Best regards,
kristian
------------------------------------------------------------------
Kristian Forde E-mail: Kristian.Forde@hit.no
Senior Executive Officer Phone: +47 35 02 62 22 (work)
Telemark College, Notodden Phone: +47 35 95 05 91 (home)
Laererskolevegen 40, Fax: +47 35 02 62 01
N-3670 Notodden, NORWAY WWW: http://www-n.hit.no/
------------------------------------------------------------------
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:40 CDT