The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

/home/username/.cagefs: Unable to open directory: Permission denied at /scripts/pkgacct line 1799.

Discussion in 'CloudLinux' started by 4u123, Nov 8, 2013.

  1. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    765
    Likes Received:
    1
    Trophy Points:
    18
    The permissions on /home/username/.cagefs are root:root 0701

    Attempt to package account results in...

    One or more files in the home directory were not readable and were not copied. Please review the home directory upon completion of transfer

    Error(s) encountered in tar during archiving:
    /home/username/.cagefs: Unable to open directory: Permission denied at /scripts/pkgacct line 1799.

    Attempt to copy account from another server fails because of the above.

    CLOUDLINUX 5.10 x86_64 standard - WHM 11.40.0 (build 19)


    Has anyone else experienced this issue?
     
    #1 4u123, Nov 8, 2013
    Last edited: Nov 8, 2013
  2. iseletsk

    iseletsk Well-Known Member

    Joined:
    Mar 3, 2010
    Messages:
    163
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Princeton, New Jersey, United States
  3. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    765
    Likes Received:
    1
    Trophy Points:
    18
    Re: /home/username/.cagefs: Unable to open directory: Permission denied at /scripts/pkgacct line 179

    HI, I'm glad that you've identified the problem, but currently this issue breaks the functionality of the transfer account process because it fails and will not continue.

    The account transfer fails with the following error...

    tar process 1018533 exited with status 13: /home/username/.cagefs: Unable to open directory: Permission denied at /usr/local/cpanel/scripts/pkgacct line 1786.
    Delayed nonzero exit status at /usr/local/cpanel/scripts/pkgacct line 1787. at /usr/local/cpanel/Cpanel/IO/Tarball.pm line 198.

    I've got 200 accounts I need to move to a new server as a matter of urgency and I'm not prepared to do each of those manually.

    Can you suggest a workaround?
     
    #3 4u123, Nov 10, 2013
    Last edited: Nov 10, 2013
  4. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    765
    Likes Received:
    1
    Trophy Points:
    18
    Re: /home/username/.cagefs: Unable to open directory: Permission denied at /scripts/pkgacct line 179

    Here is the solution I found...

    Before running the account copies, run the following command from /home ...

    Adding read and execute permissions allows the directory to be added to the archive. The transfer process won't re-create the .cagefs directory at the other end, but simply removing the users from CageFS and adding them back in via WHM seems to fix that.
     
  5. iseletsk

    iseletsk Well-Known Member

    Joined:
    Mar 3, 2010
    Messages:
    163
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Princeton, New Jersey, United States
    Re: /home/username/.cagefs: Unable to open directory: Permission denied at /scripts/pkgacct line 179

    We didn't just identified the issue, we fixed the issue. You can upgrade to beta, and the issue would be gone.
     
  6. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    765
    Likes Received:
    1
    Trophy Points:
    18
    Re: /home/username/.cagefs: Unable to open directory: Permission denied at /scripts/pkgacct line 179

    Who upgrades to a BETA in a production environment?

    You realize, beta is for testing, right?
     
    #6 4u123, Nov 14, 2013
    Last edited: Nov 15, 2013
  7. iseletsk

    iseletsk Well-Known Member

    Joined:
    Mar 3, 2010
    Messages:
    163
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Princeton, New Jersey, United States
    Re: /home/username/.cagefs: Unable to open directory: Permission denied at /scripts/pkgacct line 179

    If you don't mind, I will ignore your first question.

    Now, when I decided how to name our releases at CloudLinux, I used this definition of beta:

    If you think that beta versions never used in production, than I would like to remind you of Gmail, that was in beta for 5 years, and used by millions of people -- before it was "upgraded" from that status.

    The way we, at CloudLinux define beta: releases that were tested internally, but not yet ready to be automatically upgraded on all production servers. They are given specifically so customers who have large deployments can test it on a handful of production servers -- prior to rolling out to all their servers, and so that people who need latest feature or bug fix could update their production server manually.

    In cPanel release terms, I would say that cPanel's CURRENT tier corresponds to our beta, while our stable corresponds to cPanel's RELEASE tier.

    Anyway -- you can always wait for it become stable.
     
  8. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    765
    Likes Received:
    1
    Trophy Points:
    18
    Re: /home/username/.cagefs: Unable to open directory: Permission denied at /scripts/pkgacct line 179

    The fact is simply that software in beta is unfinished and will contain bugs. It is still in testing. Your stable release software contains bugs, which doesn't give your customers much confidence in your testing process. I'm unlikely to put my customers under further risk by upgrading to your beta build when you stable release doesn't work correctly.

    You can't compare your software to Gmail - that's free webmail software for end users. Your software is not free and carries a far greater risk to the customer than a webmail platform. Businesses rely upon it to run their servers.
     
  9. bejbi

    bejbi Well-Known Member

    Joined:
    Jan 20, 2006
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Czestochowa, Poland
    cPanel Access Level:
    DataCenter Provider
    Re: /home/username/.cagefs: Unable to open directory: Permission denied at /scripts/pkgacct line 179

    If the account transfer is broken it should be urgently corrected. This is NOT new feature which will be tested and you can wait on it when it goes to stable.

    It is a bug.

    I'm using on my all servers only RELEASE version. Never CURRENT! So i'm always waiting on Your STABLE versions, never using BETA.
    Beta is for testing and contains new features.

    I'm a little confused on Your answer ... I transfer users from CentOS to CL so I don't have such problems, but I'm a little scared of the future ...

    Wojciech
     
  10. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    867
    Likes Received:
    9
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Re: /home/username/.cagefs: Unable to open directory: Permission denied at /scripts/pkgacct line 179

    The beta release does fix the problem so it would make sense to use it until the stable release is available, probably in a few days. I guess the problem here is people's perception of what a beta is. Some software company's beta's are more "stable" than others...................
    Our own experience with CL is that they are very quick to acknowledge and fix bugs, far quicker in fact than cpanel
     
Loading...
Similar Threads - home username cagefs
  1. SteveK
    Replies:
    15
    Views:
    703

Share This Page