In my laravel 5.8 app in envoy task I delete old derectories with method :
use Illuminate\Support\Facades\File;
...
File::deleteDirectory($directory_name);
But opening server's dirs are see that directories are not delete, but have some subdirectories inside. When the 1 directory is not deleted, like removing directory
/var/www/html/Hostels2Deployed/release/20190725-191130
I found it with 1 subdirectory
/var/www/html/Hostels2Deployed/release/20190725-191130/storage/framework/cache/data# ls -la
total 16
drwxrwxrwx 4 lardeployer www-data 4096 Sep 27 11:59 .
drwxrwxrwx 3 lardeployer www-data 4096 Sep 27 11:59 ..
drwxr-xr-x 3 www-data www-data 4096 Jul 25 16:12 cb
drwxr-xr-x 3 www-data www-data 4096 Jul 25 16:12 ed
Why they are not deleted and how to delete it?
Thanks!
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2mhryGk
via IFTTT
Aucun commentaire:
Enregistrer un commentaire