On 2015-09-09 17:26, Catlyon wrote:
> the .zip file in /usr/local/bin didn’t give an error report. Still, I’ll
> show the code.
>
>
> Code:
> --------------------
> su -
> man mv [file] [destination]
> --------------------
Is that exactly what you are typing in the terminal?
> This results in the following error
>
> Code:
> --------------------
> can’t chdir to /root/usr/local: Permission denied
> --------------------
Well, the above command produces this result:
cer@minas-tirith:~> man mv [file] [destination]
Man: find all matching manual pages (set MAN_POSIXLY_CORRECT to avoid this)
* mv (1)
mv (1p)
Man: What manual page do you want?
Man:
No manual entry for [file]
No manual entry for [destination]
cer@minas-tirith:~>
which is not what you posted. The command “man” displays manual pages.
Here, you are asking it to display the manual pages for “mv”, then for “[file]”, then for “[destination]”.
Why you want to display those three manual pages, of which only the first one can exist, is beyond my understanding.
Also, I do not understand the result you got — unless you did not type “man mv [file] [destination]” but something else, and you are lying to us, which is very impolite.
> The following commands seem to do nothing even though they seem to be
> recognized by the terminal program.
>
> Code:
> --------------------
> bind ~/usr/local/bin
> chroot_local_user=YES
> --------------------
And what do you intend to do with the above?
“bind” is a bash builtin, which alters how the keyboard is read by bash. I fail to understand what it has to do with archives of programs or what you intend to do with it.
Maybe you intend to do a “mount bind”, which is totally different from the above.
It seems to me that you are following random advice from Internet, instead of answering our questions with precision.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” (Minas Tirith))