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
Post a Comment