You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey folks, I'm running filebrowser:latest in docker on an arm64 processor, with my files mounted from outside the container to /srv.
I have an admin profile with a small set of commands enabled (ls cd cat vi echo lsblk su touch git less rm mkdir chmod df du find ping ifconfig cp mv ln wget curl uname whoami), which works well in the in-built shell (which I gather is just bash in the docker container, starting in /srv). However I'm unable to use cd to change directory because cd isn't a program (it's a builtin command): it just errors with exec: "cd": executable file not found in $PATH. I can't even see $PATH since running echo $PATH just returns $PATH (apologies if this is a distro specific thing, I'm not fluent in any other distro than basic ubuntu).
If anyone could suggest how I can get this to work, I'd be very grateful!
As a bonus question, what user are commands run as? whoami returns a uid of 1000, but that's not in /etc/passwd, and files created are owned by root. I'm assuming this is just some weird alpine thing.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey folks, I'm running filebrowser:latest in docker on an arm64 processor, with my files mounted from outside the container to /srv.
I have an admin profile with a small set of commands enabled (
ls cd cat vi echo lsblk su touch git less rm mkdir chmod df du find ping ifconfig cp mv ln wget curl uname whoami
), which works well in the in-built shell (which I gather is just bash in the docker container, starting in /srv).However I'm unable to use
cd
to change directory becausecd
isn't a program (it's a builtin command): it just errors withexec: "cd": executable file not found in $PATH
. I can't even see $PATH since runningecho $PATH
just returns$PATH
(apologies if this is a distro specific thing, I'm not fluent in any other distro than basic ubuntu).If anyone could suggest how I can get this to work, I'd be very grateful!
As a bonus question, what user are commands run as?
whoami
returns a uid of 1000, but that's not in/etc/passwd
, and files created are owned by root. I'm assuming this is just some weird alpine thing.Beta Was this translation helpful? Give feedback.
All reactions