[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Sticky bit



Hello all,

Many people says that the stick bit is a feature to keep an executable in the memory.

#echo #!/bin.bash > test.sh
#echo echo ok >> test.sh
#chmod 1777 test.sh

#./test.sh
ok

#echo echo ok2 >> test.sh

#./test.sh
ok
ok2

the result with sticky would have to be "ok". Can anybody explain me what it happened?

Thanks!



Reply to: