Skip to content

quarto create files missing write permission #14250

@widlarizer

Description

@widlarizer

I have:

  • searched the issue tracker for similar issues
  • installed the latest version of Quarto CLI
  • formatted my issue following the Bug Reports guide

Bug description

See title and repro. With quarto version 1.8.26 (that's what unstable nixpkgs has, I can't immediately re-check with a newer version, sorry)

Steps to reproduce

emil@fridge /t/q> quarto create
? Create › project
? Type › book
? Directory › .
? Title (book) › asdf
Creating project at /tmp/q:
  - Created _quarto.yml
  - Created index.qmd
  - Created intro.qmd
  - Created summary.qmd
  - Created references.qmd
  - Created cover.png
  - Created references.bib
? Open With › (don't open)
emil@fridge /t/q> la
Permissions Size User Date Modified Name
.rw-r--r--   296 emil 22 Mar 15:44  _quarto.yml
.r--r--r--   51k emil 22 Mar 15:44  cover.png
.rw-r--r--   121 emil 22 Mar 15:44  index.qmd
.rw-r--r--   139 emil 22 Mar 15:44  intro.qmd
.r--r--r--   417 emil 22 Mar 15:44  references.bib
.rw-r--r--    44 emil 22 Mar 15:44  references.qmd
.rw-r--r--    60 emil 22 Mar 15:44  summary.qmd

cover.png and references.bib don't give write permissions to the user. For the record my GID is 100 and UID is 1001 in case it's related

Actual behavior

see repro

Expected behavior

writable files

Your environment

linux (nixOS)

Quarto check output

Quarto 1.8.26
[✓] Checking environment information...
      Quarto cache location: /home/emil/.cache/quarto
[✓] Checking versions of quarto binary dependencies...
      NOTE: Pandoc version 3.7.0 does not strictly match 3.6.3 and strict checking is enabled. Please use 3.6.3.
      NOTE: Dart Sass version 1.97.2 does not strictly match 1.87.0 and strict checking is enabled. Please use 1.87.0.
      NOTE: Deno version 2.6.5 does not strictly match 2.3.1 and strict checking is enabled. Please use 2.3.1.
      NOTE: Typst version 0.14.2 does not strictly match 0.13.0 and strict checking is enabled. Please use 0.13.0.
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.8.26
      Path: /nix/store/5wzjyd1vlh8ihaaz9q8x5jxjba6x72cx-quarto-1.8.26/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Tex:  (not detected)

[✓] Checking Chrome Headless....................OK
      Using: Chrome found on system
      Path: /run/current-system/sw/bin/chromium-browser
      Source: PATH

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.13.11
      Path: /nix/store/mzf1vv6bvmpnlba05mzczv1h8nqrdbar-python3-3.13.11-env/bin/python3
      Jupyter: 5.8.1
      Kernels: python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........OK
      Version: 4.5.2
      Path: /nix/store/aw5rhgrh3892grnzbppk8z1sdili3zf8-R-4.5.2/lib/R
      LibPaths:
        - /nix/store/4dy0x3akb544s4bpvlawnlxy5xkn7nbq-r-boot-1.3-32/library
        - /nix/store/28rmb0s0iz00z7dy34fyf0sfjs62zhla-r-class-7.3-23/library
        - /nix/store/fhciqyykk3wvwkjkgyhbiy52q9a001if-r-MASS-7.3-65/library
        - /nix/store/z32vjajyxpvcchgbrr3g1zqgkdrjafkf-r-cluster-2.1.8.1/library
        - /nix/store/5wkfp28gmy49kfm53mvxiwvkzh74x7i0-r-codetools-0.2-20/library
        - /nix/store/n2s2rm5vliighgc9b1c00w9c8lhazlah-r-foreign-0.8-90/library
        - /nix/store/f797kn8mmhrw6mc22b26fjvasr1ab2ny-r-KernSmooth-2.23-26/library
        - /nix/store/bk8vr4qyb42f6zwa7b1x5xxnh05zvd4s-r-lattice-0.22-7/library
        - /nix/store/m7f59wvb7vphsmxzm9yq56ry1cwv2xx6-r-Matrix-1.7-4/library
        - /nix/store/8jvwlk1y54vvgjy3hrwmv1ypq57mrl5x-r-mgcv-1.9-3/library
        - /nix/store/51hmm3jdfvcv6q5d00dkc2i2m1li7vvv-r-nlme-3.1-168/library
        - /nix/store/zl90vmkd6mp1l60gfcmqvzh91p2pawx4-r-nnet-7.3-20/library
        - /nix/store/18hl3gsmrkmv6g0vzcd8lclhxng255q8-r-rpart-4.1.24/library
        - /nix/store/89gsqpfxk8ybw1ka8mi3339cnfyc0zcb-r-spatial-7.3-18/library
        - /nix/store/ssj1c8rpdl6w2n7lavcz2gzlmkfsrdzh-r-survival-3.8-3/library
        - /nix/store/qmav00hhyyxs9q1c7a2cv9lbh7nnrlrw-r-rmarkdown-2.30/library
        - /nix/store/5if3rywlcahry6vavg1r5jvgaw5s0gz4-r-bslib-0.9.0/library
        - /nix/store/ra21b88wi0i0h5za6lj21rnilv4jx0nn-r-base64enc-0.1-3/library
        - /nix/store/wwc91mb9zfi0wxaw110gfyink713iibh-r-cachem-1.1.0/library
        - /nix/store/isp9pq7hr6bapjmlmy3aig9g604zdd2v-r-fastmap-1.2.0/library
        - /nix/store/fz24d1nsd6fvcknqklnm1x7v1b1d51sc-r-rlang-1.1.6/library
        - /nix/store/c7h5gymq0wndhllwydahlxwyfpgr56cv-r-htmltools-0.5.8.1/library
        - /nix/store/4wh4q6a6ldd2x3wczj3kg8h0x586lad3-r-digest-0.6.37/library
        - /nix/store/f7fpjzcx1qf62vrm9p9617j77g6hj94k-r-jquerylib-0.1.4/library
        - /nix/store/fvr0zhnkxj59bvwgkf325731hknx6han-r-jsonlite-2.0.0/library
        - /nix/store/0yvd3b1vh5ql7vnyqanrdmyyawcdrzfs-r-lifecycle-1.0.4/library
        - /nix/store/a3c0r2m7jl32sk5mbcklsp0vbg837xh8-r-cli-3.6.5/library
        - /nix/store/f2pg9cz23cxiwdz2jmrr0sp0w55rbgpd-r-glue-1.8.0/library
        - /nix/store/05p08jmmn9mjbk8g2mj1l36800vpcnz4-r-memoise-2.0.1/library
        - /nix/store/b9alkz8zkql7wismn5cmsr8mh5s2xpc4-r-mime-0.13/library
        - /nix/store/g8ab0hf5jf6h52lq8pgb3m2mc6lhjn3d-r-sass-0.4.10/library
        - /nix/store/6kvlsbzgrhkr91rpa626ixi87dpndb21-r-R6-2.6.1/library
        - /nix/store/i23ijbwff5mx08f385jazbbfm9913ik3-r-fs-1.6.6/library
        - /nix/store/pbdbb1pss224ajsf84ql29cq51xyqvn3-r-rappdirs-0.3.3/library
        - /nix/store/gkdgqx8iqg1k4rh5l35i10lff9rwpfs7-r-evaluate-1.0.5/library
        - /nix/store/c929xgigxi37am7pvp6f6kl63xlihsj4-r-fontawesome-0.5.3/library
        - /nix/store/h8c2wgmgca1g2hs8dmznim849s38bw3k-r-knitr-1.50/library
        - /nix/store/gv3z3hy9h5q93bqkjhq2fjfxcgawwjkv-r-highr-0.11/library
        - /nix/store/gkxi31rxq9mzhzgn36inckzv4m07pl7a-r-xfun-0.54/library
        - /nix/store/ih347s897hklmjxl0pzx694nlmkrkn5m-r-yaml-2.3.10/library
        - /nix/store/0wn75kyy1870sl84s33mns9qqiijl74p-r-tinytex-0.57/library
        - /nix/store/aw5rhgrh3892grnzbppk8z1sdili3zf8-R-4.5.2/lib/R/library
      knitr: 1.50
      rmarkdown: 2.30

[✓] Checking Knitr engine render......OK

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions