[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Am I going crazy?
- From: Michael Jinks <mjinks bsd uchicago edu>
- To: redhat-list redhat com, cameron senta uchicago edu, Max Trefonides <mtrefoni bsd uchicago edu>, Eric Welton <e-welton uchicago edu>, blair christensen <blair bsd uchicago edu>, molly bsd uchicago edu
- Subject: Am I going crazy?
- Date: Thu, 30 Sep 1999 22:36:11 -0500
On my machine I have a directory called "/home/software". Here's a
listing:
[mjinks putzel software]$ pwd
/home/software
[mjinks putzel software]$ ls -l
total 6
-rw-rw-r-- 1 root bsdis 395 Sep 28 23:18 README
drwxr-sr-x 2 mjinks bsdis 1024 May 4 20:55 gzip
drwxr-sr-x 2 mjinks bsdis 1024 Sep 28 23:18 linux
drwxr-sr-x 6 mjinks bsdis 1024 Sep 28 20:09 solaris
drwxr-sr-x 2 mjinks bsdis 1024 Sep 28 23:13 sources
drwxrwsr-x 2 mjinks bsdis 1024 Sep 28 23:13 uploads
Within that directory, there is a directory called "ssh". But it
doesn't show up in ls:
[mjinks putzel software]$ find . -type d -name ssh -print
./ssh
[mjinks putzel software]$ ls
README gzip linux solaris sources uploads
I've tried examining the directory in various ways. For example:
[mjinks putzel software]$ file ssh
ssh: setgid directory
[mjinks putzel software]$ stat ssh
File: "ssh"
Size: 1024 Filetype: Directory
Mode: (2755/drwxr-sr-x) Uid: ( 500/ mjinks) Gid: ( 1023/
bsdis)
Device: 3,8 Inode: 473091 Links: 3
Access: Thu Sep 30 22:24:55 1999(00000.00:01:00)
Modify: Tue Aug 17 10:44:08 1999(00044.11:41:47)
Change: Tue Sep 28 15:07:37 1999(00002.07:18:18)
I can go into it and look around. It contains what I expect:
[mjinks putzel software]$ cd ssh
[mjinks putzel ssh]$ ls -al
total 1010
drwxr-sr-x 3 mjinks bsdis 1024 Aug 17 15:44 .
drwxr-sr-x 8 root bsdis 1024 Oct 1 03:21 ..
drwxr-sr-x 4 mjinks bsdis 3072 May 12 11:20 ssh-1.2.27
-rw-r--r-- 1 mjinks bsdis 1022546 May 13 16:28 ssh-1.2.27.tar.gz
-rwxr-xr-x 1 mjinks bsdis 331 Aug 17 15:43 sshd.INITSCRIPT
The "total 1010" above strikes me as odd, but moving along:
I can copy the directory to another name and it shows up fine. I can
move the directory to another name and it shows up fine:
[mjinks putzel software]$ su
Password:
[root putzel software]# cp -rp ssh ssh.two
[root putzel software]# ls
README gzip linux solaris sources ssh.two uploads
[root putzel software]# mv ssh ssh.three
[root putzel software]# ls
README linux sources ssh.two
gzip solaris ssh.three uploads
But try as I might, I just can't have a file in /home/software named
"ssh" show up in a listing:
[root putzel software]# touch ssh
[root putzel software]# ls
README linux sources ssh.two
gzip solaris ssh.three uploads
[root putzel software]# file ssh
ssh: empty
See!?!? The file exists, but it won't show up in ls!
What sort of thing causes this?
fsck says my filesystem is clean:
begin:vcard
n:Jinks;Michael
tel;fax:773-702-2280
tel;work:773-834-3858
x-mozilla-html:FALSE
org:University of Chicago Biological Sciences Division
version:2.1
email;internet:mjinks bsd uchicago edu
title:Enterprise Systems Engineer
adr;quoted-printable:;;924 E.57th Street=0D=0ARoom 015;Chicago;IL;60637;USA
x-mozilla-cpt:;0
fn:Michael Jinks
end:vcard
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]