Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    51
    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:
    156
    Location:
    Penang, Malaysia
    Are you using root user or any cpanel account user?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dl-services

    dl-services Member

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

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    8
    Trophy Points:
    193
    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:
    51
    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:
    51
    help

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

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,051
    Likes Received:
    2
    Trophy Points:
    168
    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

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. bigal

    bigal Member

    Joined:
    Nov 10, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    51
    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,051
    Likes Received:
    2
    Trophy Points:
    168
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. dl-services

    dl-services Member

    Joined:
    Apr 21, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51
    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,051
    Likes Received:
    2
    Trophy Points:
    168
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. dl-services

    dl-services Member

    Joined:
    Apr 21, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51
    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:
    51
    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,544
    Likes Received:
    9
    Trophy Points:
    268
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice