/home/DIR (777) has sticy bit enabled. Owner is USER_A
/home/DIR/file_1 (777). Owner is USER_A
/home/DIR/file_2 (777). Owner is USER_B
Then I login as USER_B
1) Delete /home/DIR/file_1 fails as expected as stuicky bit is set on parent DIR and USER_B is not the owner of the file
2) DELETE /home/DIR/file_2 succeeded. Shouldn't this fail too? I understand USER_B is the owner of file "file_2" but there is sticky bit set on parent "DIR". My understanding was only USER_A can delete file/dir within DIR. Not other user can delete even though they owns the file.
I am using ubuntu.