Closed manuasir closed 3 years ago
The period is supported as a separator with chown
. See info chown
:
Some older scripts may still use ‘.’ in place of the ‘:’ separator.
POSIX 1003.1-2001 (*note Standards conformance::) does not require
support for that, but for backward compatibility GNU ‘chown’ supports
‘.’ so long as no ambiguity results. New scripts should avoid the use
of ‘.’ because it is not portable, and because it has undesirable
results if the entire OWNER‘.’GROUP happens to identify a user whose
name contains ‘.’.
But yes, this should be updated to nginx:nginx
. Will update all branches soon.
Thanks for pointing it out.
Thanks for your quick reply! I just opened a PR to the master
branch. Just let me know what branches do you want the change point to and I'll open one for each branch. Otherwise, feel free to cherry-pick the commit.
Yep. your PR should be applied to all branches. You're welcome to open one for each branch. Thanks again.
Done!
Awesome. Thanks for contributing. Much appreciated.
https://github.com/wyveo/nginx-php-fpm/blob/74261ab67d8520b9c66ae275b528f33859a1b4f2/start.sh#L8
Shouldn't this be
chown nginx:nginx
?