Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #241758

Re: Mutt can not delete mails

From Tixy <tixy@yxit.co.uk>
Newsgroups linux.debian.user
Subject Re: Mutt can not delete mails
Date 2021-10-28 18:20 +0200
Message-ID <Ddgie-Kh-3@gated-at.bofh.it> (permalink)
References <DddDH-7sa-5@gated-at.bofh.it> <DdeJr-87o-7@gated-at.bofh.it> <DdeT7-8aO-3@gated-at.bofh.it> <DdfPc-jS-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Mutt can not delete mails Hans <hans.ullrich@loop.de> - 2021-10-28 15:30 +0200
  Re: Mutt can not delete mails Greg Wooledge <greg@wooledge.org> - 2021-10-28 15:40 +0200
    Re: Mutt can not delete mails Hans <hans.ullrich@loop.de> - 2021-10-28 16:20 +0200
      Re: Mutt can not delete mails David Wright <deblis@lionunicorn.co.uk> - 2021-10-28 16:30 +0200
      Re: Mutt can not delete mails Greg Wooledge <greg@wooledge.org> - 2021-10-28 16:40 +0200
        Re: Mutt can not delete mails David Wright <deblis@lionunicorn.co.uk> - 2021-10-28 16:50 +0200
          Re: Mutt can not delete mails Hans <hans.ullrich@loop.de> - 2021-10-28 17:50 +0200
          Re: Mutt can not delete mails Hans <hans.ullrich@loop.de> - 2021-10-28 17:50 +0200
            Re: Mutt can not delete mails Greg Wooledge <greg@wooledge.org> - 2021-10-28 18:00 +0200
            Re: Mutt can not delete mails Tixy <tixy@yxit.co.uk> - 2021-10-28 18:20 +0200
              Re: Mutt can not delete mails David Wright <deblis@lionunicorn.co.uk> - 2021-11-04 16:40 +0100
      Re: Mutt can not delete mails Tim Woodall <debianuser@woodall.me.uk> - 2021-10-28 18:20 +0200
        Re: Mutt can not delete mails David Wright <deblis@lionunicorn.co.uk> - 2021-11-04 16:50 +0100
      Re: Mutt can not delete mails David Wright <deblis@lionunicorn.co.uk> - 2021-11-11 21:50 +0100
        Re: Mutt can not delete mails Greg Wooledge <greg@wooledge.org> - 2021-11-11 22:00 +0100
          Re: Mutt can not delete mails David Wright <deblis@lionunicorn.co.uk> - 2021-11-12 03:10 +0100
          Re: Mutt can not delete mails Hans <hans.ullrich@loop.de> - 2021-11-12 19:10 +0100
            Re: Mutt can not delete mails Greg Wooledge <greg@wooledge.org> - 2021-11-12 19:50 +0100
              Re: Mutt can not delete mails Hans <hans.ullrich@loop.de> - 2021-11-12 21:00 +0100
                Re: Mutt can not delete mails Greg Wooledge <greg@wooledge.org> - 2021-11-12 21:10 +0100
                Re: Mutt can not delete mails David Wright <deblis@lionunicorn.co.uk> - 2021-11-13 04:30 +0100

csiph-web