We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Once I execute su-exec ubuntu cd /home I got following output: su-exec: cd: No such file or directory
su-exec ubuntu cd /home
su-exec: cd: No such file or directory
On the other hand, once I execute su-exec ubuntu ls -l /home the command is working properly. Output: total 0
su-exec ubuntu ls -l /home
total 0
Generally, it is only cd not working for me. Thus, I find it as a bug.
cd
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
You need a binary to execute, and as @tianon mentioned, the binary is shell (sh). su-exec ubuntu sh -c "cd /home"
sh
su-exec ubuntu sh -c "cd /home"
No branches or pull requests
Once I execute
su-exec ubuntu cd /home
I got following output:
su-exec: cd: No such file or directory
On the other hand, once I execute
su-exec ubuntu ls -l /home
the command is working properly.Output:
total 0
Generally, it is only
cd
not working for me. Thus, I find it as a bug.The text was updated successfully, but these errors were encountered: