Before you tell me all the security implications I am well aware and this is for convenience testing. I have a server running smbd on Debian 11 and it is configured correctly such that I can mount and use shares normally. However, I would like to share the server /root such that I can read and write files from my Mac which has the tools I like to use.
As root on my Mac using the following command:
mount_smbfs -f 666 -d 777 //root:[email protected]/root /Volumes/root/
I can mount the root folder on the server and see and modify files as root on the Mac.
But the volume root
is not visible from the Finder with hidden items turned on. The files are accessible from the terminal and emacs but I would like to be able to use for example SQLPro to examine some databases on the server but the volume is not accessible or visible from the Open dialog.
open /
will show the root which is owned by root./
isn’t mounted anywhere within Finder as a “clickable icon”. It also depends on the permssions. Tryopen /tmp
and see if you get the same results. It’s important to note I said “By default, it wouldn’t show” not that it can’t be shown.