The question is: there is a script (file manager). The problem is that with the help of the script I cannot change the chmod - it writes
Warning: chmod () [function.chmod]: Operation not permitted in / home / bla bla ........
Through the Commander I put the attributes 0777 on all the files and directories that the script "oversees". Vserovno does not help.
But, with the files and directories created by the script itself - no problem. As far as I understand, the problem is with the owner's UID. But I put the attributes Commander - -0777 (of the type without restrictions .....) and does not plow all the same.
By the way! Stopped chown () - also issued by Operation not permitted.
Prompt good people - how to deal with this "nafig"?