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.

Big Problem with 1 account

Discussion in 'General Discussion' started by dl-services, Dec 2, 2009.

  1. dl-services

    dl-services Member

    Joined:
    Apr 21, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hi Everyone

    I am running a dedicated server installed with, cPanel 11.24.5-R38506 - WHM 11.24.2 - X 3.9
    CENTOS 5.4 i686

    I seem to have a major problem with one account on the server, i can access the account via ftp and filemmanager, but it wont let me do any work in there with regards to uploading, changing cmods, deleting files etc etc i always get an error..

    permission denied...

    is there a way to repaif this or the cmods as i dont want to go round in cirles anymore
     
  2. mickbeng

    mickbeng Well-Known Member

    Joined:
    Oct 3, 2006
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Penang, Malaysia
    Are you using root user or any cpanel account user?
     
  3. dl-services

    dl-services Member

    Joined:
    Apr 21, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    i have tried both root & username
     
  4. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Check the ownerships on the files and folders in the account and make sur e that the "chattr +i" flag hasn't been set somehow either.
     
  5. dl-services

    dl-services Member

    Joined:
    Apr 21, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    how do i check the ownership im not that clued up on cpanel
     
  6. dl-services

    dl-services Member

    Joined:
    Apr 21, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    help

    bump, can someone help me on this issue
     
  7. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    to check the ownership of the files/folders under the account,

    where, 'user' is the username in question.

    ls -la will list all the files and will show you the permissions and ownership as well. To check if the files/folders are chattr'ed, do

    the ownership of the public_html folder should be

    and the files/folders under it should be

    command to change the ownership is

     
  8. bigal

    bigal Member

    Joined:
    Nov 10, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    I noticed there is a directory /home/user/etc
    which belongs user.mail

    and /home/user/.htpasswds
    which belongs user.nobody
     
  9. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    you can ignore their onwership for now as the person is just trying to edit/access his website files which resides under public_html directory.
     
  10. dl-services

    dl-services Member

    Joined:
    Apr 21, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    root@amon [/home/torrentz]# lsattr /home/torrentz
    ------------- /home/torrentz/etc
    ------------- /home/torrentz/cpbackup-exclude.conf
    ----------I-- /home/torrentz/www
    ------------- /home/torrentz/tmp
    ------------- /home/torrentz/backup-11.27.2009_01-43-00_torrentz.tar.gz
    ------------- /home/torrentz/mail
    ------------- /home/torrentz/JackPotSoft.rar
    ------------- /home/torrentz/bin
    ------------- /home/torrentz/perl
    ------------- /home/torrentz/access-logs
    ------------- /home/torrentz/php
    ------------- /home/torrentz/public_ftp
    ----------I-- /home/torrentz/public_html
     
  11. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Right, that's the 'i' for the public_html directory is causing the problems. Now, execute the following

    and you should be able to edit files under it.
     
  12. dl-services

    dl-services Member

    Joined:
    Apr 21, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    hi madaboutlinux

    i did run the command above but it still shows..


    root@amon [/home/torrentz]# lsattr /home/torrentz
    ------------- /home/torrentz/etc
    ------------- /home/torrentz/cpbackup-exclude.conf
    ----------I-- /home/torrentz/www
    ------------- /home/torrentz/tmp
    ------------- /home/torrentz/backup-11.27.2009_01-43-00_torrentz.tar.gz
    ------------- /home/torrentz/mail
    ------------- /home/torrentz/JackPotSoft.rar
    ------------- /home/torrentz/bin
    ------------- /home/torrentz/perl
    ------------- /home/torrentz/access-logs
    ------------- /home/torrentz/php
    ------------- /home/torrentz/public_ftp
    ----------I-- /home/torrentz/public_html
     
  13. dl-services

    dl-services Member

    Joined:
    Apr 21, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Scource

    I have contacted the support team where i get my liecense from hoping they will do this for me as support is (should be) included.

    Thanks very much for all your time i will post results once i have a reply from them..

    Regards
     
  14. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    To help clarify, cPanel/WHM does not set the immutable attribute or flag "-i" on accounts as seen in the provided output for the directory "public_html" and the symbolic link (symlink) "www". This issue stems from something outside of cPanel/WHM, such as manual administrative action or other sources of modification. With the given information I believe it will be necessary to contact the upstream service provider to help alleviate the issue.
     
Loading...

Share This Page