github / github/pages-gem

Permission denied running with docker

Aperta
#614 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Ruby
Stelle
1.9k
Fork
360
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Before submitting an issue, please be sure to

- [x] Read [the contributing instructions](https://github.com/github/pages-gem/blob/master/docs/CONTRIBUTING.md#contributing-to-the-github-pages-gem)
- [x] Update to the latest Gem version (run `bundle update github-pages`)

### This issue affects

- [ ] The site generated by GitHub Pages
- [x] Building sites locally

*The GitHub Pages Gem is intended to help users replicate the GitHub Pages build environment locally. If your issue affects both the hosted version and the version previewed locally, you may be better suited reporting [seeking support in other forums](https://github.com/github/pages-gem/blob/master/docs/SUPPORT.md).*

### What did you do (e.g., steps to reproduce)
```
source contrib/func.sh
cd ../my-site-path/
github-pages
```

### What did you expect to happen?
My site running in a container

### What happened instead?
```
github-pages:3: command not found: realpath
Configuration file: none
Source: /src/site
Destination: /src/site/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 0.006 seconds.
Auto-regeneration: enabled for '/src/site'
jekyll 3.7.4 | Error: Permission denied @ dir_s_mkdir - /src/site/_site
```
### Additional information

* Link to the live site (if applicable):
* Link to the source repo (if applicable):

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia leggendo contrib/func.sh e riproducendo il comando documentato da una directory del sito. Indaga sul comando realpath mancante e sull’errore «permission denied» per /src/site/_site. Il lavoro è completato quando github-pages può eseguire il sito nel container senza nessuno dei due errori segnalati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
docker, ruby
Ambito
build-system, devops
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.