Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!gatech!destroyer!news.itd.umich.edu!altitude From: altitude@css.itd.umich.edu (Alex Tang) Newsgroups: umich.unix,comp.os.386bsd.questions Subject: Re: HELP!!!! (permissions and such Messed) Followup-To: umich.unix,comp.os.386bsd.questions Date: 12 Dec 1993 19:13:38 GMT Organization: University of Michigan ITD/User Services Lines: 35 Message-ID: <2efqh2$h1i@terminator.rs.itd.umich.edu> References: <2eeo3r$c1t@terminator.rs.itd.umich.edu> <2efjp0$f54@terminator.rs.itd.umich.edu> NNTP-Posting-Host: stimpy.css.itd.umich.edu X-Newsreader: TIN [version 1.2 PL1] Wesley Craig (wes@terminator.rs.itd.umich.edu) wrote: : >If i do an ls -lg on my home dir, all the files come up with their uid : >and gid...not the respective names. : What does "ls -lg /" print out? Here's "ls -lg /" while done as root... recycle#ls -lg / total 1564 drw-rw-rw- 9 root wheel 512 Dec 12 14:07 ./ drw-rw-rw- 9 root wheel 512 Dec 12 14:07 ../ -rw-r--r-- 1 root wheel 1066 Jun 1 1993 .cshrc -rw-r--r-- 1 root wheel 173 Apr 13 1993 .profile -rw-r--r-- 1 root wheel 19 Jul 8 10:57 .rhosts -rwxr-xr-x 1 root wheel 505633 Jul 29 15:03 386bsd* drwxr-xr-x 2 root wheel 512 Dec 5 10:54 bin/ -rw-r--r-- 1 root wheel 139264 Dec 12 02:09 core.dump -rw-r--r-- 1 root wheel 126976 Jun 8 1993 core.rlogind drwxrwxr-x 3 root wheel 3072 Dec 12 15:08 dev/ drwxrwxr-x 4 root wheel 2048 Dec 12 03:27 etc/ dr-xr-xr-x 2 root wheel 512 Dec 12 14:07 kern/ drwxr-xr-x 2 root wheel 512 May 30 1993 mnt/ lrwxrwxr-x 1 root wheel 15 Jun 13 1993 root@ -> /usr/u/ drwxr-xr-x 2 root wheel 1024 Jun 12 1993 sbin/ lrwxrwxrwx 1 root wheel 19 May 30 1993 sys@ -> /usr/src lrwxr-xr-x 1 root wheel 8 Oct 30 18:51 tmp@ -> /usr/tmp drwxr-xr-x 21 root wheel 512 Dec 12 03:39 usr/ lrwxrwxr-x 1 root wheel 8 May 30 1993 utmp@ -> /usr/tm lrwxr-xr-x 1 root wheel 8 Aug 11 22:55 var@ -> /usr/var here's "ls -lgd /" done as root: drw-rw-rw- 9 root wheel 512 Dec 12 14:07 // I can't do ls -lg on / from anyone except root. No one else has permission to read it.