# sticky bit

**URL:** <https://community.unix.com/t/sticky-bit/270426>\
**Category:** AIX\
**Created:** [July 28, 2010, 1:10pm UTC](https://community.unix.com/t/sticky-bit/270426 "2010-07-28T13:10:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![udtyuvaraj](https://community.unix.com/letter_avatar/udtyuvaraj/32/5_5575768a8748004e209b776fc1b2916d.png) [@udtyuvaraj](https://community.unix.com/u/udtyuvaraj)\
**Post date:** [July 28, 2010, 1:10pm UTC](https://community.unix.com/t/sticky-bit/270426/1 "2010-07-28T13:10:20Z")

</div>

as far as i understand, if sticky bit is set on a directory, the files created under tht directory cannot be deleted by ordinary user...

but we can do ths by permission itself,,, tht's assign only read permission to tht dirrectory

wht 's the difference?

---

<div class="post-metadata">

**Author:** ![jim\_mcnamara](https://community.unix.com/letter_avatar/jim_mcnamara/32/5_5575768a8748004e209b776fc1b2916d.png) [@jim\_mcnamara](https://community.unix.com/u/jim_mcnamara)\
**Post date:** [July 28, 2010, 1:29pm UTC](https://community.unix.com/t/sticky-bit/270426/2 "2010-07-28T13:29:51Z")

</div>

```nohighlight
ls -l -d /plpl/tmp
drwxrwxrwt 6 root other 24576 Jul 23 07:31 /plpl/tmp

```

With this file mode on the tmp directory any user can read,write, and delete any file they  
personally create. Depending on the user's umask other users may be able to read or write or execute the file.

I do know what else you are asking, parts of your question are not clear to me.
