# Permission problem for scribble documentation when updating racket version on Ubuntu

**URL:** <https://racket.discourse.group/t/permission-problem-for-scribble-documentation-when-updating-racket-version-on-ubuntu/666>\
**Category:** Questions & Answers\
**Tags:** question, raco\
**Created:** [February 7, 2022, 8:14am UTC](https://racket.discourse.group/t/permission-problem-for-scribble-documentation-when-updating-racket-version-on-ubuntu/666 "2022-02-07T08:14:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marc](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@marc](https://racket.discourse.group/u/marc)\
**Post date:** [February 7, 2022, 8:14am UTC](https://racket.discourse.group/t/permission-problem-for-scribble-documentation-when-updating-racket-version-on-ubuntu/666/1 "2022-02-07T08:14:47Z")

</div>

I have updated my version of Racket from 8.2 to 8.3 on Ubuntu 20.4 (Focal). While it works successfully, when I install new packages, I get the following error:

> open-output-file: error opening file  
> path: /usr/share/racket/pkgs/scribble-lib/scribble/doc/lang/compiled/tmp16442211631644221163507  
> system error: Permission denied; errno=13

which is probably the reason that I later get version problems when creating the new scribble documentation:

> loading code: version mismatch  
> expected: "8.3"  
> found: "8.2"  
> in: /usr/share/racket/pkgs/racket-index/scribblings/main/user/compiled/local-redirect\_scrbl.zo  
> context...:  
> /usr/share/racket/pkgs/racket-index/setup/scribble.rkt:1555:27
> 
> context...:  
> /usr/share/racket/collects/setup/parallel-do.rkt:332:4: work-done method in list-queue%  
> /usr/share/racket/collects/setup/parallel-do.rkt:282:17  
> /usr/share/racket/collects/setup/parallel-do.rkt:236:4  
> /usr/share/racket/pkgs/racket-index/setup/scribble.rkt:139:0: setup-scribblings  
> /usr/share/racket/collects/setup/setup.rkt:78:3  
> /usr/share/racket/collects/pkg/main.rkt:17:0: setup  
> body of (submod "/usr/share/racket/collects/pkg/main.rkt" main)  
> /usr/share/racket/collects/raco/raco.rkt:41:0  
> body of "/usr/share/racket/collects/raco/raco.rkt"  
> body of "/usr/share/racket/collects/raco/main.rkt"  
> raco setup: 0 running: /racket-index/scribblings/main/user/release.scrbl  
> loading code: version mismatch  
> expected: "8.3"  
> found: "8.2"  
> in: /usr/share/racket/pkgs/racket-index/scribblings/main/user/compiled/release\_scrbl.zo  
> context...:  
> /usr/share/racket/pkgs/racket-index/setup/scribble.rkt:1555:27
> 
> context...:  
> /usr/share/racket/collects/setup/parallel-do.rkt:332:4: work-done method in list-queue%  
> /usr/share/racket/collects/setup/parallel-do.rkt:282:17  
> /usr/share/racket/collects/setup/parallel-do.rkt:236:4  
> /usr/share/racket/pkgs/racket-index/setup/scribble.rkt:139:0: setup-scribblings  
> /usr/share/racket/collects/setup/setup.rkt:78:3  
> /usr/share/racket/collects/pkg/main.rkt:17:0: setup  
> body of (submod "/usr/share/racket/collects/pkg/main.rkt" main)  
> /usr/share/racket/collects/raco/raco.rkt:41:0  
> body of "/usr/share/racket/collects/raco/raco.rkt"  
> body of "/usr/share/racket/collects/raco/main.rkt"

The list goes on and on. My question is whether there is a way to tell scribble to compile the temporary files at the start somewhere else (where it has write access), since that seems to be the problem? Or is there another way to get this working?
