Timeline for Sticky bit doesn't allow to delete or rename a file within a directory
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 31, 2024 at 17:00 | comment | added | CarloC | Ok, it works as expected ! | |
| Oct 31, 2024 at 16:14 | vote | accept | CarloC | ||
| Oct 31, 2024 at 15:23 | comment | added | Stephen Kitt | Yes, the owner user (not group). | |
| Oct 31, 2024 at 15:20 | comment | added | CarloC | As directory's owner do you mean the directory's user owner? | |
| Oct 31, 2024 at 15:19 | history | edited | Stephen Kitt | CC BY-SA 4.0 | Link the canonical Q&A. |
| Oct 31, 2024 at 15:18 | comment | added | Stephen Kitt | The directory’s owner can always delete files in the directory. | |
| Oct 31, 2024 at 15:17 | comment | added | CarloC | However, even ubuntu user can delete file1. Why if sticky bit is set on carlo directory? | |
| Oct 31, 2024 at 15:16 | history | edited | Stephen Kitt | CC BY-SA 4.0 | Explain how to fix this. |
| Oct 31, 2024 at 15:10 | comment | added | CarloC | Ah ok. I added write permission for others to carlo directory (yes, user lab isn't member of ubuntu group). lab@ubuntu:~$ ll | grep carlo drwxrwxrwt 2 ubuntu ubuntu 4096 Oct 31 16:07 carlo/. Now it works ! | |
| Oct 31, 2024 at 13:38 | history | answered | Stephen Kitt | CC BY-SA 4.0 |