Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ls question

Status
Not open for further replies.

freggel

Technical User
Joined
Dec 26, 2002
Messages
6
Location
NL
i'm using sco openserver 5.05
when i type ls -ld /*
to see what the permissions are for all the directory's i can't see if a
directory has the sticky bit set.

i can only see for instance drwxrwxrwx
and not if the sticky bit is set

but when i use midnight commander and look at the file permissions i can see
that the sticky bit is set.

Who can help me with this ?

thanks

Frank Eggink

 
ls -ld /tmp is a good example; it should look something like this:

[tt]drwxrwxrwt 3 sys sys 1024 Jan 2 22:05 /tmp[/tt]

The 't' on the end of the permissions signifies the sticky bit. Annihilannic.
 
thanks!!
it works.


frank
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top