當我使用root登入linux 後切換到一般user身份別, 及我直接使用一般身份來登入, 或是由一般身份來切換回root, 這樣作用有什麼不一樣, 因為我發現路徑的擁有者名字會跟著變
謝謝

For backward compatibility, su defaults to not change the current directory and to only set the environment
variables HOME and SHELL (plus USER and LOGNAME if the target user is not root). It is recommended to always
use the --login option (instead of its shortcut -) to avoid side effects caused by mixing environments.