I created a shopware 6 plugin but when activating it, it shows cannot delete /var/cache/h97xxxxxxxxxxxxxx/ directory not empty

projekte/treppe/var/cache/prod_hd174669f24b5b5032ac120086360367c/pools/ONphTzeVip/Q): Directory not empty"

after deleting this directory another one comes how to solve it??
thanks

No idea where you development is taking place. A common problem I have once a while is that I logging on the server as root or doing a sudo then triggering a bin/console cache:clear when you after this run another shopware command the cache folder might get the wrong file system rights.

Take a look to the var/cache folder and check the filesystem acls or rights. also check the owner. So in case these are wrong go and correct them.

best

1 „Gefällt mir“