1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Cannot chdir: Permission denied

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by Dan11, Mar 20, 2011.

  1. Dan11

    Dan11 Guest

    While attempting to migrate individual sites from Parallels Pro (Ensim) 10.3.4 to Plesk 10.1.1, I repeatedly get a "Cannot chdir: Permission denied" error when the migration script attempts to unpack the email users' mailbox tar file. The tar file seems ok and I can manually unpack it, but I can't get the migration script to do this. Any help would be greatly appreciated.


    Here is the XML error log:

    <?xml version="1.0" ?>
    <execution-result status="success">
    <object name="user_name" type="client">
    <object name="domain_name" type="domain">
    <message code="CantUnpackMailboxContent" severity="error">
    <context>void plesk::DomainMailRefferred::extractMailBox(Mailbox_Refferred_*) [with Mailbox_Refferred_ = plesk::Mailbox_Refferred<plesk::Cid>]</context>
    <text>Can not deploy mail content of user_name@domain_name</text>
    <message code="tRepository::StreamError" severity="error">
    <text>Archiver error: from /usr/local/psa/PMM/var/20110320135750991/domains/domain_name/mailnames/mailname_user_name_1103201400.tar to /var/qmail/mailnames/domain_name/user_name/Maildir: tar: /var/qmail/mailnames/domain_name/user_name/Maildir: Cannot chdir: Permission denied tar: Error is not recoverable: exiting now</text>
  2. comicmaus

    comicmaus New Pleskian

    Oct 4, 2006
    Likes Received:
    Is this question still actual?
    Looks like the same bug as described in this thread.
    The content of the emails is unpacked with the rights of the popuser account, which normally has userid 110. So you may check if the user exists and the target directory has the right permissions.