Chown() function help please

Discussion in 'Programming' started by Smithers, Aug 8, 2007.

Thread Status:
Not open for further replies.
  1. #1
    I'm working with the chown() function, but somehow it doesn't seem to work. The chmod of the specific file is set to 777, but it still returns an "operation not permitted" error. I want to change the owner of a file from "Webserver" to "You". Also, safe mode is turned off, which people say should fix this issue, but didn't. Is there anything I'm forgetting?
     
    Smithers, Aug 8, 2007 IP
  2. ecentricNick

    ecentricNick Peon

    Messages:
    351
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well, how are you using chown?

    Are you specifying the user and the group?

    chown [-hHLPR] [[user]] [:group] target1 [[target2 ..]]
     
    ecentricNick, Aug 9, 2007 IP
  3. PowerExtreme

    PowerExtreme Banned

    Messages:
    2,118
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    0
    #3
    are u the host urself if not ask ur host
     
    PowerExtreme, Aug 9, 2007 IP
Thread Status:
Not open for further replies.