By default user1 can remove user2’s files due to directory permission to group member. We can prevent of deleting files from others users using Sticky Bits.
chmod o+t /data
Verify /data: ls -ld /data
You will get: drwxrwx—T
Options Selected by Other Users:
Option A: (20 votes)
100%
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit