php - Changing permissions via chmod at runtime errors with "Operation not permitted" -


When I use chmod () to change permissions on time, Message below:

WARNING: chmod () [function.chmod]: Operation is not allowed in /home/loud/public_html/readalbum.php

How can I remove this error and work with the chmod function?

  $ sudo chmod ...  

Either the file needs to be the owner or the superuser, i.e. the user root . If you are the owner of the directory but do not have the file, you can copy the file, RM origin, then it can return the MV, and then you will be able to burn it.

The easiest way to get the root of the route is to run the command through Sudo ($ man 8 pseudo )


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -