KEMBAR78
Permission denied issue when writing to `/tmp/.tensorboard-info` · Issue #2010 · tensorflow/tensorboard · GitHub
Skip to content

Permission denied issue when writing to /tmp/.tensorboard-info #2010

@tete1030

Description

@tete1030
  • TensorBoard version (from pip package, also printed out when running tensorboard)
    1.13.1
  • TensorFlow version if different from TensorBoard
    1.13.1
  • OS Platform and version (e.g., Linux Ubuntu 16.04)
    Ubuntu 16.04
  • Python version (e.g. 2.7, 3.5)
    2.7

Please describe the bug as clearly as possible, and if possible provide a minimal example (code, data, and/or command line) to reproduce the issue. Thanks!

The writing of tensorboard info files introduced in #1806 can cause permission problem under multi-user scenario. It directly create .tensorboard-info directory under /tmp as in

path = os.path.join(tempfile.gettempdir(), ".tensorboard-info")
. If the dir has already been created by an user, it will not be writable to other users.

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions