Re: command to list ownership of folder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>

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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux