Re: cannot read contents of parent directory of ... - check permissions and ownership

Charles Cazabon <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
Wojtek Swiatek <[email protected]> wrote:
> 
> I am trying to setup getmail to retrieve email from Gmail and I am stuck at
> the following error messages (on each retrieved email):
> 
> Delivery error (maildir delivery 22103 error (127, maildir delivery process
> failed (cannot read contents of parent directory of
> /mnt/1TB1/backup/gmail/mails/ - check permissions and ownership)))

That message appears to be correct:

> root@srv /m/1/b/gmail# pwd
> /mnt/1TB1/backup/gmail
> 
> root@srv /m/1/b/gmail# ls -la
> total 32
> drwxr-xr-x 4 wojtek root  4096 Oct 12 11:11 ./
> drwx------ 4 root   root  4096 Oct 12 11:02 ../
[...]

The parent directory - /mnt/1TB1/backup - is only readable/searchable by root.
That's exactly what the error message says, so it's correct - non-root
processes cannot reach the directory you've specified.  Fix the permissions on
that dir or move the destination directory somewhere else that is reachable.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.