Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Runtime cache access failures expose a raw permission error to a second account

オープン
#18 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@pheus がすでに取り組んでいます。

2026年10月23日 から。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
backend

調査の方向性

Start by reproducing the failure with the web service and RQ worker running as different accounts, then trace the Script Run tab's source-loading path and the runtime cache-directory checks. Confirm the cache-specific diagnostic is reached for the second account and identifies the affected directory instead of exposing the raw permission error.

索引モデルが issue の本文から書いたものです。

説明

app: scripts severity: low status: backlog type: bug
Plugin Version

v0.0.1

NetBox Version

v4.7.1

Python Version

3.12

Steps to Reproduce
  1. Run the web service and RQ worker as different accounts sharing /tmp, with runtime_cache_root unset. This differs from NetBox's shipped systemd setup, which uses one account and private temporary directories.
  2. Upload a Script so the worker validates it and creates the runtime cache.
  3. Once the revision is active, open the Script's Run tab through the web service.
Expected Behavior

The plugin reports a clear runtime cache error identifying the affected directory, as it does for other cache access problems.

Observed Behavior

The Run tab reports "The Script could not be loaded from its source: [Errno 13] Permission denied: '/tmp/netbox-scripts/runtime-cache'".

Access fails before the plugin's cache-directory checks run for the second account, so the operator receives a raw source-loading error instead of the cache-specific diagnostic.

主要言語
Python
スター
8
フォーク
0
平均マージ
11時間 35分
マージ済み PR(30日)
20

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

netbox-community/netbox-scripts のほかの issue

netbox-community/netbox-scripts の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。