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

Added chown and chmod support #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Added chown and chmod support #25

wants to merge 2 commits into from

Conversation

hacor
Copy link

@hacor hacor commented Nov 23, 2018

Hello

I'm not sure whether you're interested, but I provided a few new environment parameters in order to set the shared directory to the provided owner and provided file permissions.

  • Added UID:UID ownership changes to the shared_directory
  • Added DIRECTORY_PERMISSIONS to set the chown command on the shared_directory
  • Docs updated

If any changes requested, let me know!

Best regards,

Hacor

- Added DIRECTORY_PERMISSIONS to set the chown command on the shared_directory
@sjiveson
Copy link
Owner

Sorry I seem to have completely missed this, I'll take a closer look soon

@sjiveson
Copy link
Owner

Finally got to this. I'd like to include it but I think the new if statements should come after the SHARED_DIRECTORY_2 block and the variable names should be consistent, say DIRECTORY_UID and DIRECTORY_PERMISSIONS? Perhaps maybe a dedicated variable and logic for the GID too?

Quite happy to make those changes in my own branch if you don't have the time or desire. Please let me know.

- Updated namings of env variables
- Updated docs
@hacor
Copy link
Author

hacor commented Aug 26, 2019

Sorry for the extreme delay :-)
I think all adaptations are made!

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.

2 participants