Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.wizards Subject: Re: ls -A Message-ID: <2542@auspex.auspex.com> Date: 9 Oct 89 20:35:05 GMT References: <15@minya.UUCP> <14611@bloom-beacon.MIT.EDU> <1989Oct7.191435.26382@rpi.edu> <1248@virtech.UUCP> <6466@ficc.uu.net> Reply-To: guy@auspex.auspex.com (Guy Harris) Distribution: na Organization: Auspex Systems, Santa Clara Lines: 20 >Another difference in 'ls' when you're root, of course, is that you get the >owner and group displayed in the 'ls -l' listing, instead of just the owner. > >This is nice, though surprising to new super-users. > >How do you get this behaviour when you're NOT root? ls -g just gives the group >and not the owner. You replace whatever Mutant UNIX From Hell you're running with one that offers an "ls" that's either more like vanilla S5 or vanilla 4.xBSD than the one you have, and: 1) if it's more like vanilla S5, just do "ls -l", and get the owner and group *regardless* of the UID under which it's running; 2) if it's more like vanilla 4.xBSD, just do "ls -lg", and get the owner and group *regardless* of the UID under which it's running.