-   Linux - Newbie (
-   -   Listing Protection of Root Directory (

OtagoHarbour 07-14-2012 06:21 PM

Listing Protection of Root Directory
I am using Ubuntu 11.10.

How do you get the directory protection status for the root directory. If I try


ls -l /
I get a listing of the subdirectories of / but not / itself. So I cannot see what its protection status is.


unSpawn 07-14-2012 06:53 PM

Try 'ls -ld /' or easier: 'stat /'.

OtagoHarbour 07-14-2012 07:33 PM


Originally Posted by unSpawn (Post 4728261)
Try 'ls -ld /' or easier: 'stat /'.

They both give me exactly what I want.

Thanks very much,

All times are GMT -5. The time now is 08:30 PM.