-
Notifications
You must be signed in to change notification settings - Fork 284
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
File ownership in the deb package #8898
Comments
Thanks for the report. We can also see like this the current bundled owner and group $ curl -L -O https://github.com/quarto-dev/quarto-cli/releases/download/v1.4.550/quarto-1.4.550-linux-amd64.deb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 111M 100 111M 0 0 16.6M 0 0:00:06 0:00:06 --:--:-- 20.7M
$ dpkg-deb --contents quarto-1.4.550-linux-amd64.deb
drwxr-xr-x runner/docker 0 2024-02-15 15:37 ./
drwxr-xr-x runner/docker 0 2024-02-15 15:37 ./opt/
drwxr-xr-x runner/docker 0 2024-02-15 15:37 ./opt/quarto/
<truncated> |
Also noticed that the tarball has the same owner and group: $ curl -Ls https://github.com/quarto-dev/quarto-cli/releases/download/v1.4.550/quarto-1.4.550-linux-amd64.tar.gz | tar tzv | head
drwxr-xr-x runner/docker 0 2024-02-15 22:36 quarto-1.4.550/
drwxr-xr-x runner/docker 0 2024-02-15 22:37 quarto-1.4.550/share/
drwxr-xr-x runner/docker 0 2024-02-15 22:36 quarto-1.4.550/share/lua-plugin/
-rw-r--r-- runner/docker 3191 2024-02-15 22:36 quarto-1.4.550/share/lua-plugin/plugin.lua
drwxr-xr-x runner/docker 0 2024-02-15 22:36 quarto-1.4.550/share/editor/
drwxr-xr-x runner/docker 0 2024-02-15 22:36 quarto-1.4.550/share/editor/tools/
-rw-r--r-- runner/docker 2439046 2024-02-15 22:36 quarto-1.4.550/share/editor/tools/vs-code.mjs
-rw-r--r-- runner/docker 16656 2024-02-15 22:36 quarto-1.4.550/share/editor/tools/attrs.yml
drwxr-xr-x runner/docker 0 2024-02-15 22:36 quarto-1.4.550/share/editor/tools/yaml/
-rw-r--r-- runner/docker 2486845 2024-02-15 22:37 quarto-1.4.550/share/editor/tools/yaml/web-worker.js |
This is the same for our
We could correct to |
Bug description
In the deb package, the
/opt/quarto
is owned by the GitHub action runner UID/GID (1001:123) instead of root.Steps to reproduce
Download and install quarto-1.4.550-linux-amd64.deb, then
Expected behavior
The files should be owned by root.
Actual behavior
The files are owned by UID 1001.
Your environment
Quarto check output
N/A
The text was updated successfully, but these errors were encountered: