From: SourceForge.net <no...@so...> - 2006-11-08 11:01:33
|
Bugs item #847555, was opened at 2003-11-23 08:08 Message generated for change (Settings changed) made by nikosch You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=456910&aid=847555&group_id=49630 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: all Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Nikolaus Schulz (nikosch) Summary: archiving courier-imap maildirs Initial Comment: I have been completely unsuccessful in archiving mailboxes in the courier-imap Maildir format. All mailboxes are in the format ".mailbox_name" (notice the leading dot). The error received is: "IOError: [Errno 13] Permission denied: 'path/to/.gz_file/that/cannot/be/created' The destination archive directory is under the user's home directory and has the permissions set to 600. I've also tried 4600 and got the same results (Set user ID). I've included my archive script. I am using version: v0.6.1 --- Matthew Hayes sou...@al... ---------------------------------------------------------------------- Comment By: Elan Ruusamäe (ahmake) Date: 2006-02-08 23:00 Message: Logged In: YES user_id=289546 i believe this has something to do with archivemail trying to move between temp file and destination dir. try reseting those env vars: export TMPDIR="$archivedir" export TMP="$TMPDIR" it fixed archiving for me. i tried to reproduce, for bug reporting, but wasn't successful, ie my test archival succeeded, when having TMPDIR and TMP on different partition than archived dir. maybe it's has something to do with file owner, because i noticed that temp dir was created under maildir owner uid, while the temp dir was owned by root only: # la /home/vmail/archived/{,tmpZhmKDtarchivemail} -d drwxrwx--- 74 root root 1936 Feb 8 23:45 /home/vmail/archived// drwx------ 2 vmail vmail 88 Feb 8 23:45 /home/vmail/archived/tmpZhmKDtarchivemail/ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=456910&aid=847555&group_id=49630 |