nfs-server-alpine
nfs-server-alpine copied to clipboard
Added chown and chmod support
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
Sorry I seem to have completely missed this, I'll take a closer look soon
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.
Sorry for the extreme delay :-) I think all adaptations are made!