question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can not change working directory ? (non root users home dir?)

See original GitHub issue

Hello, I have noticed that my ghcr.io/rocker-org/devcontainer-features/r-rig:1.0.1 installation is now failing, whereas it was working fine until 3 days ago. Apparently it fails if there is a non-root user present.

The error occurs on this line. https://github.com/rocker-org/devcontainer-features/blob/cbee3bfdce891012e88ae87c0da2c925a6a11301/src/r-rig/install.sh#L313

https://github.com/rocker-org/devcontainer-features/actions/runs/3386990635/jobs/5627128314#step:4:712 https://github.com/rocker-org/devcontainer-images/actions/runs/3386953191/jobs/5627039537#step:7:2193

Three days ago it was all green. https://github.com/rocker-org/devcontainer-images/actions/runs/3361399450

Have there been any changes in behavior over the past few days?

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
joshspicercommented, Nov 3, 2022

Thanks for raising! We definitely don’t want to introduce changes that break existing Features, so this is an interesting case 🤔

0reactions
eitsupicommented, Nov 3, 2022

OK, I got around this by moving to another temporary directory during installation rocker-org/devcontainer-features#95. Thanks again for the continued development!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix R Error cannot change working directory
This is a simple problem to solve but you are only likely to get it by miss typing a folder name. If you...
Read more >
R Error in setwd() : cannot change working directory (2 ...
The reason for this is that the directory we are trying to access does not exist. We might have specified the folder name...
Read more >
ubuntu - Cannot change directory into home ... - Super User
So, you own your home direcory /home/myusername , and have rwx permissions on it. But a cd /home/myusername gives a Permission denied ?...
Read more >
changing user home directory has no effect
The user can't access root 's home directory (and shouldn't be able to either). The -s option makes sudo start whatever shell is...
Read more >
Can't change to home directory - linux - Stack Overflow
The server is a 1&1 dedicated virtual linux server, and it's worked fine for many years. I might have inadvertently changed something, but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found