On Thu, May 06, 2021 at 05:55:36PM +0200, Hans wrote:
> Am Donnerstag, 6. Mai 2021, 17:45:29 CEST schrieb Hans:
> I am answering myself: I was wrong, on the other computer rm and touch do also
> not work.
OK. The problem is you have some directory where users are
supposed to be able to create a file, but to only remove
*their* files, but not other's.
This is a well-known problem (/tmp also has that problem), and
UNIX-like file systems have something for that. This is called
the "sticky bit" [1].
And lo and behold, *my* /var/mail has this sticky bit:
| tomas@trotzki:~$ ls -al /var/mail
| total 220
| drwxrwsr-x 2 root mail 4096 Feb 25 15:30 .
^ Here it is
| drwxr-xr-x 13 root root 4096 Oct 30 2017 ..
| -rw-rw---- 1 tomas mail 209515 Feb 25 15:30 tomas
I don't know why yours has lost it. Unless there's a newfangled
thing going on. One never knows, these days ;-)
Cheers
- t
Attachment:
signature.asc
Description: Digital signature