contao/import — Issue #3641: Add chmod method to File and Folder class
Author: DyaGa
Created: 2011-11-29 21:54:40+00:00
State: open
Labels: Feature

For example. I need to create folder and make it chmod as 0777.
And would be the better for doing this with next code:

```
$objFolder = new Folder('files/users/' . $this->feUser->id .'/ftp');
$objFolder->chmod(0777);
```

--- _Originally created on November 16th, 2011, at 05:58pm (ID 3641)_