Workbench can't upload files: Unexpected response from server
Open
Nobody has claimed this yet.
team: workbench
- Dominant language
- Markdown
- Stars
- 46
- Forks
- 40
- Avg merge
- 4h 3m
- Merged PRs (30d)
- 6
Description
Trying to upload files to a session and received Unexpected response from server. On the session pod the following error show up:
2022-11-21T21:59:13.566313Z [rsession-Username] ERROR system error 1 (Operation not permitted) [path: /home/Username/.local/share/rstudio/rstudio-server.json]; OCCURRED AT rstudio::core::Error rstudio::core::{anonymous}::changeFileModeImpl(const string&, mode_t) src/cpp/shared_core/FilePath.cpp:314; LOGGED FROM: virtual rstudio::core::Error rstudio::session::prefs::UserStateLayer::writePrefs(const rstudio::core::json::Object&) src/cpp/session/prefs/UserStateLayer.cpp:74
I am able to create folders/files in workbench without issue, it is the upload that is failing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the session pod error and inspect the referenced paths: src/cpp/shared_core/FilePath.cpp:314 and src/cpp/session/prefs/UserStateLayer.cpp:74, along with /home/Username/.local/share/rstudio/rstudio-server.json. Reproduce the Workbench upload failure and verify that uploading files to a session completes without the unexpected server response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- helm, kubernetes
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100