I would change the permissions (chmod) of a directory (in Linux) via the internet with a php-script. Is it possible to use that chmod command in a php-script. If the answer is yes tell me how.
Attempts to change the mode of the file specified by filename to that given in mode.
Note that mode is not automatically assumed to be an octal value, so strings (such as "g+w" will not work properly. To ensure the expected operation, you need to prefix mode with a zero (0):
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.