You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep the owner:group of the one downloading the tarball
In the scenario:
./configure --prefix=<something_which_needs_su/sudo>
make domserver <as unpriviliged user which downloaded the tarball>
sudo make-installdomserver <as root>
We would copy the Nelmiodoc files as root, so the user can't run a make
{dist}clean without errors as we can't remove the folder as its owned by
root.
See
#2303 (comment)
for the reasoning behind this.
So we replace phony copy-bundle-assets target by a real one. This makes that
we don't rerun the rule during `domserver-install` if it already ran during
`domserver`, so that if you install as root, the local files are still owned
by the user who first ran `make domserver`, not root.
This does assume that if the directory `public/bundles/nelmioapidoc`
exists, then it contains the assets, and these won't automatically
get updated, for example, in the setting of a maintainer-install so
there we always remove the directory and recreate it.
0 commit comments