Mailperm - Insecure dependency

Omniphobic

Registered
Sep 14, 2006
3
0
151
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.
 

Bruce

Well-Known Member
Oct 4, 2001
146
0
316
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.
 

nshreders

Member
PartnerNOC
May 9, 2007
23
0
151
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.
 

Bruce

Well-Known Member
Oct 4, 2001
146
0
316
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
 

Bruce

Well-Known Member
Oct 4, 2001
146
0
316
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:
 

hostcp3

Well-Known Member
Jun 18, 2002
155
0
166
update your entire /scripts folder should fix this

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

AlexV.

Well-Known Member
Jun 15, 2006
212
1
168
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.