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.

Chown

Discussion in 'General Discussion' started by cws_support, Oct 3, 2006.

  1. cws_support

    cws_support Member

    Joined:
    Aug 24, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Hello:

    Is there a way in WHM or cpanel to change the ownership of a file?
    I need to change the ownership of some scripts that I edited in notepad, and uploaded with cPanel File Manager.
    This appears to have caused a problem. I was told that it may be the reason the compiler/ interpreter is writing to my script files. And that I need to chown it to the "owner".

    If not, if someone could give me a hint as to where to start, I would be grateful.
     
  2. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    chown username.username

    However, since you said text files, make sure they are *nix text files - not dos text files. The end of line characters are different. You can use the dos2unix to convert them.
     
  3. angelina_holy

    angelina_holy Well-Known Member

    Joined:
    Aug 6, 2006
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    you cannot change the ownership of file from whm or cpanel . you will need a shell access or you can contact your hosting company for it .

    chown username.username filename
     
Loading...

Share This Page