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?
Well, how are you using chown? Are you specifying the user and the group? chown [-hHLPR] [[user]] [:group] target1 [[target2 ..]]