** Attachment added: "Suggested Patch"
   http://launchpadlibrarian.net/8071299/archivemail-0.7.0-1.patch.tar.gz

** Description changed:

  Binary package hint: archivemail
  
  Version 7.0.1-1 (Feisty)
  Severity: Lowest
  
  When a root user archive MBOX file in /var/mail causes a error:
  "Permission Denied" because archivemail changes the permission to the
  owner of INBOX and this user dont have permission to write in /var/mail
  directory.
  
- I dont know if it is a behavior or not, but I am sending bellow a PATCH
- for the Feisty version.
+ I dont know if it is a behavior or not, but I am sending a PATCH for the
+ Feisty version.
  
  So I hope help somebody.
- 
- 423,424c423,426
- <             dir=box_dir)
- <         lock_name = self.mbox_file_name + options.lockfile_extension
- ---
- >             dir=tempfile.tempdir)
- >         lock_name = os.path.join(tempfile.tempdir, prelock_prefix + 
- >         options.lockfile_extension)
- > 
- 456c458,460
- <         lock_name = self.mbox_file_name + options.lockfile_extension
- ---
- >     box_dir, prelock_prefix = os.path.split(self.mbox_file_name)
- >     lock_name = os.path.join(tempfile.tempdir, prelock_prefix + 
- >         options.lockfile_extension)

-- 
"Permission Denied" when archiving from /var/mail directory
https://bugs.launchpad.net/bugs/120152
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to