Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Aug 2006
    Posts
    15

    Angry Chown

    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. #2
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    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.
    Lloyd F Tennison

  3. #3
    Member
    Join Date
    Aug 2006
    Posts
    113

    Default

    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

Similar Threads & Tags
Similar threads

  1. ARGH chown'ed everything
    By martynh in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 01-29-2010, 12:46 PM
  2. chown
    By nw1 in forum New User Questions
    Replies: 5
    Last Post: 10-20-2009, 08:42 PM
  3. chown
    By cooldude7273 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-15-2007, 11:03 AM
  4. need help with chown
    By hikaro in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-26-2006, 12:52 PM
  5. Interchange and chOwn
    By Radio_Head in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-27-2002, 02:33 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube