Implemented Upgrade Process / Folder permission

Stefan_Dani

New member
Hello,

I am looking for advice on optimizing my dadabik upgrade procedure and would like to propose a potential improvement

Currently, when dadabik creates the upgrade folder (e.g., upgrades_67e8a9ssa4695), it sets the following permissions:
  • Owner: www-data
  • Group: www-data
  • Permissions: 755 (drwxr-sr-x)
This creates a challenge for users who want to upload the upgrade-zip file to this folder using FTP/SFTP clients like FileZilla.
Even if the ssh/FileZilla user belongs to the www-data group, they can't write to this folder due to the 755 permissions.

My current workaround is SSH-ing into the server and manually changing the upgrade folder permissions to 775 or modifying the ownership via terminal.
This process can be time-consuming and human error might occur when upgrading multiple dadabik instances.

Adding a configuration option that allows users to specify the permissions for the upgrade folder would provide flexibility for different server setups while still maintaining security. I believe this would improve the upgrade experience for those of us using FTP/SFTP during the upgrade process.

Does anyone have a different, more efficient upgrade approach? Please share. 😊

Thanks & br Stefan and Daniel
 
Upvote 1
This suggestion has been implemented. Votes are no longer accepted.

eugenio

Administrator
Staff member
Hello,
I've moved your post to the feature suggestion forum.
The improvement you proposes makes sense and it's quite easy to implement so it will be available in the next release of DaDaBIK :cool:

Best,
 
Top