On Thu, 2021-10-28 at 17:48 +0200, Hans wrote:
> Oh, and I forgot to mention or make clear: 
> 
> The file /var/mail/myusername does not be reduzed to 0, and as the user 
> myusername I can not manually delete this file, although (if I am not 
> wrong!), 
> I should be able to, as it is rw for me.

You can't delete the file because that requires modifying the directory
containing it, i.e. /var/mail/ and you don't have permissions for that.
These are the permissions you showed us...

   ls -la /var/mail/ 
   drwxrwsr-x  2 root     mail    4096 28. Okt 15:12 *.* 
   drwxr-xr-x 13 root     root    4096  2. Sep 18:37 *..* 
   -rw-rw----  1 myusername mail 2090109 28. Okt 15:02 myusername

So /var/mail/ has owner 'root', group 'mail', and isn't writeable by
others.

You do have permission to modify the contents of file 'myusername' as
you are the owner, and owner has write permission set.

-- 
Tixy

Reply via email to