command to list ownership of folder

kevin.kempter at kevin.kempter at
Tue Mar 29 22:15:16 UTC 2005

On Tuesday 29 March 2005 14:20, Graham Campbell wrote:
> On Tue, 2005-03-29 at 15:20 -0500, Claude Jones wrote:
> > forgive me for I have trespassed, but I have also read and read
> > I changed ownership on a bunch of folders in the /var/lock directory by
> > mistake -- from what I've read, there is no undo -
> > I would like to put these back the way they were. I'm not sure if they
> > were all root:root
> > I have an exactly configured box I can ssh into and get the list of
> > owners, but I can't find the command that lists ownership of a folder -
> > is there such?
> ls and chown and chmod work on both folders and files. In fact, in Unix
> systems, there is little difference. A folder (aka directory) is just a
> file that lists the files in it with pointers to them. It has a special
> format and they are recognized by the system and handled specially, but
> in many respects they are simply index files.
> --
> Graham Campbell <gc1111 at>

ls -l will show files, directories (folders) and ownership

More information about the users mailing list