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.

Mailperm - Insecure dependency

Discussion in 'E-mail Discussions' started by Omniphobic, Apr 3, 2007.

  1. Omniphobic

    Omniphobic Registered

    Joined:
    Sep 14, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I've referred to these boards for several months now but this is the first time I've ever had to post. :)


    Running /scripts/mailperm will spit out:

    Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 166.


    Line 166:

    if ( chown $uid, $gid, $file ) {


    Perl version is 5.8.5, but have tried /scripts/perlinstaller just for giggles. cPanel version currently set to Current, but have tried Stable and Release. I've also replaced both the mailperm script and SafetyBits.pm from another working cPanel server I have.
     
  2. Omniphobic

    Omniphobic Registered

    Joined:
    Sep 14, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Any help would be appreciated. :D
     
  3. Omniphobic

    Omniphobic Registered

    Joined:
    Sep 14, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Anyone? Anyone?



    ...Buehler?
     
  4. maverick23

    maverick23 Well-Known Member

    Joined:
    Feb 23, 2005
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    DataCenter Provider
    Hi,

    have you found any solution to this issue?

    Thanks
    Rahul
     
  5. Bruce

    Bruce Well-Known Member

    Joined:
    Oct 4, 2001
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    16
    After upgrading to Stable 11, we are now getting this too !


    chown: getting attributes of `/var/spool/exim/scan/1IM61I-0000zC-Va': No such file or directory Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 236. Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 236. Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 236. Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 176. Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 236. Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 236. Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 236. Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 236. Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 236.
     
  6. nshreders

    nshreders Member
    PartnerNOC

    Joined:
    May 9, 2007
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    chicago, IL
    try this

    Hello,

    I ran /usr/local/cpanel/startup and got a warning about needing to convert from mbox to maildir format. so I ran /scripts/convert2maildir - i chose the option to backup the mail first and then the option to convert it.

    Running /scripts/mailperm no longer returns that error.
     
  7. Bruce

    Bruce Well-Known Member

    Joined:
    Oct 4, 2001
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    16
    This was converted sometime ago.
    When I enter /scripts/convert2maildir - i , it shows
    ( maildir enabled )
    1) Restore system to mbox (non-maildir) state.
    2) Request Technical Support
    3) Convert partially converted mail accounts
    4) Attempt to finish a failed conversion
    *) Exit
     
  8. Bruce

    Bruce Well-Known Member

    Joined:
    Oct 4, 2001
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    16
    Still get this e-mailed to me every hour since Cpanel 11 Stable :mad:

    Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 236.
    Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 236.
    Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 236.
    Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 176.
    Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 236.
    Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 236.
    Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 236.
    Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 236.
    Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 236.
    Insecure dependency in chown while running with -T switch at /scripts/cPScript/SafetyBits.pm line 236.
    :mad:
     
  9. hostcp3

    hostcp3 Well-Known Member

    Joined:
    Jun 18, 2002
    Messages:
    156
    Likes Received:
    0
    Trophy Points:
    16
    update your entire /scripts folder should fix this

    rsync -av rsync://rsync.cpanel.net/scripts /script
     
  10. AlexV.

    AlexV. Well-Known Member

    Joined:
    Jun 15, 2006
    Messages:
    212
    Likes Received:
    1
    Trophy Points:
    16
    Hello Everyone!

    Thank you for your posts in regards this particular error message when running /scripts/mailperm

    I simply wanted to let you know that our Developers are aware of this problem and are actively working towards a fix. It should be addressed on the forthcoming builds.

    Thank you in advance for your patience.
     

Share This Page