Operating System - HP-UX
1826086 Members
4532 Online
109690 Solutions
New Discussion

Re: how can I find out the STICKY Bit under /

 
SOLVED
Go to solution
KCS_1
Respected Contributor

how can I find out the STICKY Bit under /

Hi, all

How can I find out the sticky bit under / ?

any helps will appriciate.

Thanks.

Best Regards.

-Patrick
Easy going at all.
5 REPLIES 5
KCS_1
Respected Contributor

Re: how can I find out the STICKY Bit under /

OOps~

I mean how can I find out the sticky bit set all file under /
Easy going at all.
T G Manikandan
Honored Contributor
Solution

Re: how can I find out the STICKY Bit under /

#find / -perm -1000 >/tmp/stickybitfiles.out
T G Manikandan
Honored Contributor

Re: how can I find out the STICKY Bit under /

find / -perm -1000 -exec ll {} \;|more
aparna challagulla
Valued Contributor

Re: how can I find out the STICKY Bit under /

hi Patrick,

ls will list out whether the sticky bit is set or not
-rwxr-xr-t the file permissions will look like this if it is set

to find a list of all files -

find / -perm -1000 -print | more
HTH
aparna


If you don't have time to do it right you must have time to do it over
KCS_1
Respected Contributor

Re: how can I find out the STICKY Bit under /

Thanks for quick helps.

Easy going at all.