Operating System - HP-UX
1825771 Members
2047 Online
109687 Solutions
New Discussion

Permissions of Root Directory

 
SOLVED
Go to solution
SREEJITH_6
Occasional Contributor

Permissions of Root Directory

Hi all,

Is there any way to display the Permissions of the root("/") Directory.
I tried "ll .." form root directory, doesn't work. Any other way?.
6 REPLIES 6
RAC_1
Honored Contributor

Re: Permissions of Root Directory

ll -d /
There is no substitute to HARDWORK
Orhan Biyiklioglu
Respected Contributor

Re: Permissions of Root Directory

ll -a

and look for . in the file listing.

hth
AwadheshPandey
Honored Contributor

Re: Permissions of Root Directory

do $ls -ld /

Regards,

Awadhesh
It's kind of fun to do the impossible
Arunvijai_4
Honored Contributor

Re: Permissions of Root Directory

# ls -ld /
drwxr-xr-x 57 root root 8192 Oct 28 01:41 /
# ll -d /
drwxr-xr-x 57 root root 8192 Oct 28 01:41 /


This is the way to do it.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor
Solution

Re: Permissions of Root Directory

New way as,
# cd /
# ls -ld .

. -> Current directory. That is / directory.

or

find / -name "/" -exec ls -ld {} \;

hth.
Easy to suggest when don't know about the problem!
SREEJITH_6
Occasional Contributor

Re: Permissions of Root Directory

Thanks Everybody for helping me.