Closed Dri372 closed 2 years ago
Yes web server should be able to write your project, it's not a bug
Also web server dont need to own the folder, just give write access in group user, and include the webserver user in the group
or you can use ACL https://www.youtube.com/watch?v=0KbP-yHSvVI for more advance linux permission
Also web server dont need to own the folder : Yes
chmod is not chown
just give write access in group user
chmod - to be done at the folder creation
Also for database/migrations/Badaso to be able to create a new table
Describe the "bug" Save Crud does not work, the log error is : Uasoft\Badaso\Exceptions\OrchestratorHandlerNotFoundException: file_put_contents(/database/seeders/Badaso/CRUD/ScrsCRUDDataTypeAdded.php): Failed to open stream: Permission denied in /vendor/badaso/core/src/BadasoDeploymentOrchestrator.php:64
cause : database/seeders/Badaso is not writable by the group ( drwxr-xr-x ) AND in my dev host www-data (apache) is not the owner.
To Reproduce
same with :
Expected behavior rights should be : drwxrwxr-x Same when creating a project direcly with badaso
Workaround chmod -R g+w ...