💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# B.8 ChmodTask Sets the mode of a file or directory. For more informations, see [chmod](http://php.net/chmod) in the PHP Manual. Table B.10:聽Attributes NameTypeDescriptionDefaultRequired`file``String`The name of the file or directory. You either have to specify this attribute, or use a fileset.n/aYes`mode``String`The new mode (octal) for the file. Specified in octal, even if the first digit is not a '0'.n/aYes`quiet``Boolean`Set quiet mode, which suppresses warnings if `chmod()` fails`false`No`failonerror``Boolean`This flag means 'note errors to the output, but keep going'`true`No`verbose``Boolean`Give more information in error message in case of a failure`true`No B.8.1 Examples ``` <chmod file="test.txt" mode="0755" /> <chmod file="/home/test" mode="0775" /> <chmod file="/home/test/mine.txt" mode="0500" verbose="true" /> ``` B.8.2 Supported Nested Tags - `fileset`