How can we set folder permission when we create make directory using Laravel 5 storage?
Storage::makeDirectory($encrypt);
How can we set folder permission when we create make directory using Laravel 5 storage?
Storage::makeDirectory($encrypt);
You need to specify the second parameter $mode
public function makeDirectory($path, $mode = 0755, $recursive = false, $force = false)