Skip to main content

MK.pm (mkdir permissions)

Comments

10 comments

  • Infopro
    There's s link on top of every page of this forum titled: Defects You should use that to report a bug. :)
    0
  • Spork Schivago
    Thank you! I don't know how I missed that! Thanks!!!!
    0
  • Spork Schivago
    I have opened a ticket. I think I've provided a fix as well, although I don't really know perl. I think line 168:
    my $exists = -e _;
    Should actually read:
    my $exists = -e $_;
    It's hard for me to test though because when I run /scripts/upcp --force, /usr/local/cpanel/Cpanel/SafeDir/MK.pm gets replaced with the broken copy. Hopefully I get a response from cPanel and they can tell me if possible solution works and implement it or they can find a fix that works and implement that. Thanks for the help!
    0
  • cPanelMichael
    Hello, To update, per the support ticket, the issue was addressed by ensuring ownership on the /var/cpanel/userhomes/cpanel/ directory and it's sub-directories matched the default values. Thank you.
    0
  • Spork Schivago
    Hello, To update, per the support ticket, the issue was addressed by ensuring ownership on the /var/cpanel/userhomes/cpanel/ directory and it's sub-directories matched the default values. Thank you.

    Yes, it turns out it wasn't a bug, but a problem with proper ownership of the directory. Sorry for the inconvenience.
    0
  • cPanelMichael
    Yes, it turns out it wasn't a bug, but a problem with proper ownership of the directory. Sorry for the inconvenience.

    No problem! We're always happy to investigate potential bug reports. Thanks for taking the time to report the issue.
    0
  • JohnD60
    Hello, To update, per the support ticket, the issue was addressed by ensuring ownership on the /var/cpanel/userhomes/cpanel/ directory and it's sub-directories matched the default values. Thank you.

    I have a similar problem but I don't know exactly what permissions to change or what they should be changed to. My error log seems to be triggered by a Cron that is set by software by Installatron. And it also only started with 11.56.0.25 upgrade. It only occurs on one of my two servers - both have Installatron. The one with the error is fully dedicated - the other is a VPS. I don't have any problems except for a regular error message. Any suggestions would be appreciated.
    0
  • cPanelMichael
    I have a similar problem but I don't know exactly what permissions to change or what they should be changed to. My error log seems to be triggered by a Cron that is set by software by Installatron. And it also only started with 11.56.0.25 upgrade. It only occurs on one of my two servers - both have Installatron. The one with the error is fully dedicated - the other is a VPS. I don't have any problems except for a regular error message. Any suggestions would be appreciated.

    Could you let us know the specific error message you are receiving? Thank you.
    0
  • JohnD60
    The "error" is in an email generated by a logscanner by CSF. These emails arrive every hour but are usually quite small but every 12 hours I get a much longer one. The time stamp of the extra "errors" is exactly the time of the installatron cron. I have attached a copy of the body of the email - including the reference to errors to do with sprites and slices which I believe I can ignore. The relevant lines are line 8 through 339. Thanks.
    0
  • cPanelMichael
    I suggest reporting the issue to the support team for Installatron, as this is a third-party application. It's possible you may need to update to a newer version of their software, or they may need to address a bug in their application. Thank you.
    0

Please sign in to leave a comment.