Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] Permissions for enigma plugin closes #21 #22

Merged
merged 5 commits into from Dec 17, 2017

Conversation

Rafi594
Copy link
Member

@Rafi594 Rafi594 commented Oct 21, 2017

Problem

  • Description of why you made this PR

Solution

  • And how you fix that

PR Status

Work finished. Package_check, basic tests and upgrade from last version OK.
Could be reviewed and tested.

Validation


Minor decision

  • Upgrade previous version : JimboJoe
  • Code review : Maniack C
  • Approval (LGTM) : Maniack C
  • Approval (LGTM) : JimboJoe
  • CI succeeded : Build Status
    When the PR is mark as ready to merge, you have to wait for 3 days before really merge it.

scripts/install Outdated
@@ -179,7 +179,7 @@ ynh_store_file_checksum "${final_path}/config/config.inc.php"
#=================================================

# Set permissions to app files
chown -R root: "$final_path"
chown -R $app: "$final_path"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should limit your owner change to the strict minimum, so to the enigma folder or plugins folder.
Furthermore, you should also handle the upgrade script as well 😉

@maniackcrudelis
Copy link
Contributor

Issue 21 says "directory isn't writeable: /var/www/roundcube/plugins/enigma/home"
So, it would be really better that only this directory became writeable.

@Rafi594
Copy link
Member Author

Rafi594 commented Nov 22, 2017

Fixed

Copy link
Contributor

@JimboJoe JimboJoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and upgrade from previous version OK 👍

@JimboJoe
Copy link
Contributor

Thanks @Rafi594, will be merged in 3 days.

@JimboJoe JimboJoe merged commit d6da975 into YunoHost-Apps:testing Dec 17, 2017
@JimboJoe JimboJoe mentioned this pull request Dec 17, 2017
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants