Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member
    Join Date
    Aug 2004
    Posts
    294
    cPanel/Enkompass Access Level

    Root Administrator

    Default chmod 755

    Ok, didnt know where to put this, so i suppose general will do.

    Whenever i update cpanel, rebuild apache or anything else like that all my accounts get chmodded to 644 which results in a 403 forbidden error message upon viewing the accounts.

    Simple solution yes - chmod 755 /home/*/public_html

    But it still doesnt stop these errors showing up in the first place, how do i go about that?

    Ive tried /scripts/enablefileprotect but it doesnt make a difference.

    Any help is greatly appreciated, thanks
    Last edited by HH-Steven; 01-13-2005 at 08:54 AM. Reason: Corrected mistake

  2. #2
    Member
    Join Date
    Dec 2001
    Posts
    1,558

    Default

    You have to be kidding me, 777 ? Check your error logs.. for the love of god! Your approach is like taking a baseball bat to a computer because your can't open the cd-drawer.
    Beau Henderson

  3. #3
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    777 is a hackers dream come true. You effectively allow any user anywhere to modify any file without challenge.

    I would recommend hiring a sysadmin to fix the true reason behind the 403 instead of opening your server to attachs and hacks.
    Regards,
    David
    Forum Moderator

  4. #4
    Member
    Join Date
    Aug 2004
    Posts
    294
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Yeah, sorry about that, i meant 755, thats what you get for posting in a rush.

    Was merely using 777 as an example of what i had to do.

    Anyway, is there any solution to this?

  5. #5
    Member Etheral's Avatar
    Join Date
    Dec 2003
    Posts
    210

    Default

    do you get any errors in apache logs after a build?
    +P 6145153533
    +eMail nikk.spiert[@]gmail.com
    +AIM IAEtheral

  6. #6
    Member
    Join Date
    Aug 2004
    Posts
    294
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Yes, only the one, but its repeated over and over :

    Code:
    [13-Jan-2005 14:12:03] PHP Warning:  Unknown(): Unable to load dynamic library './ixed.lin.4.3.8$ cannot open shared object file: No such file or directory in Unknown on line 0

  7. #7
    BANNED
    Join Date
    Feb 2003
    Location
    Toronto, Canada
    Posts
    88

    Default

    two things...

    #1 run
    /scripts/fixeverything

    #2
    Make sure under WHM's tweak settings that you have it set to use sourceguardian as the main php decoder

  8. #8
    Member
    Join Date
    Aug 2004
    Posts
    294
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    OK, well /scripts/fixeverything didnt help and i see no option for sourceguardian in whm - tweaksettings

  9. #9
    Member
    Join Date
    Aug 2004
    Posts
    294
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Ok, just checked my logwatch email on the off chance it might list something and i noticed the following :

    WARNING: Kernel Errors Present
    hda: drive_cmd: error=0x04 { DriveStat...: 1Time(s)
    hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }...: 1Time(s)

    hdb: drive_cmd: error=0x04 { DriveStat...: 1Time(s)
    hdb: drive_cmd: status=0x51 { DriveReady SeekComplete Error }...: 1Time(s)

    Ive got a feeling thats whats causing it, how can i fix that? or would it be a DC issue?

  10. #10
    Member
    Join Date
    Sep 2004
    Posts
    529

    Default

    I'm fairly sure that's just a S.M.A.R.T. error... and isn't anything to worry about.

    However, it's suggested that you google it (google.com) and read up on it.

  11. #11
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    If you only get those errors on boot and only once, then they're probably nothing to worry about as dezignguy says. If you get reams of them regularly, then your disk is probably on its last legs.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Chmod 777 is disabled - how to enable
    By khorinis in forum New User Questions
    Replies: 1
    Last Post: 09-06-2010, 09:31 AM
  2. chmod 700 cat chgrp chmod cp cpio cut doexec...
    By EEssam in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-20-2008, 03:55 AM
  3. block users from chmod 777
    By merlinpa1969 in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 08-05-2007, 07:46 PM
  4. security php fopen chmod 777
    By skyshine in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-13-2005, 10:19 AM
  5. chmod 777 on folders
    By sayouly in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 09-29-2005, 02:45 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube