Results 1 to 5 of 5

Thread: WHM screwing up permissions

  1. #1
    Member
    Join Date
    Apr 2003
    Posts
    25

    Angry WHM screwing up permissions

    Any new account created through WHM is getting the file ownership set to the reseller account username, not the account username. Any ideas? I really don't feel like chown'ing every single new account.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Posts
    2,002

    Default

    /scripts/chownpublichtmls

  3. #3
    Member
    Join Date
    Apr 2003
    Posts
    25

    Unhappy

    Thanks but that doesn't fix it. The problem is not public html's. It is that WHM is not setting the permissions on any of the default files and directory structure when I create an account. And when I go to chown the account through SSH, I get this:

    root@server [/home]# chown account:account account -R
    chown: changing ownership of `account': Disk quota exceeded
    chown: changing ownership of `account/mail': Disk quota exceeded
    chown: changing ownership of `account/public_ftp': Disk quota exceeded
    chown: changing ownership of `account/public_ftp/incoming': Disk quota exceeded
    chown: changing ownership of `account/public_html': Disk quota exceeded
    chown: changing ownership of `account/public_html/cgi-bin': Disk quota exceeded
    chown: changing ownership of `account/.contactemail': Disk quota exceeded
    chown: changing ownership of `account/www': Disk quota exceeded

    But that can't be true because the disk quota is not exceeded. And there is still plenty of disk space left on the server.

    And when I run /fixquotas, i get this garble:

    Installing Default Quota Databases......Done
    Quotas are now on
    Updating Quota Files......
    quotacheck: Cannot get quotafile name for /dev/vzfs
    quotacheck: Cannot get quotafile name for /dev/vzfs


    quotacheck: Cannot get quotafile name for /dev/vzfs
    quotacheck: Cannot get quotafile name for /dev/vzfs

    ....Done

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Posts
    2,002

    Default

    What is file /dev/vzfs


    have you been exploited ??

  5. #5
    Member
    Join Date
    Nov 2003
    Posts
    521

    Default

    I know this probably won't help, but have u ran scripts/fixeverything ?

Similar Threads

  1. Apache Update screwing me over
    By limebox in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 06-13-2007, 08:03 AM
  2. Ignorant partner screwing around with server
    By chad101 in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 02-05-2007, 11:58 PM
  3. php safe mode on or disable_functions screwing up fantastico
    By bsasninja in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 09-12-2006, 11:16 AM
  4. How Can I Use :FAIL Without Screwing Up Forwarders?
    By HarryPeratestes in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 03-13-2005, 12:19 PM
  5. BytesLog screwing apache
    By spades in forum cPanel & WHM Discussions
    Replies: 8
    Last Post: 06-17-2003, 01:29 AM