On Sun, Dec 10, 2023 at 12:25:00PM +0100, Benjamin Riefenstahl wrote: > Hi Emanuel, > > Emanuel Berg writes: > > Tramp: Checking ‘vc-registered’ for > > /sudo:root@ebc:/:/scp:incal@srv.dataswamp.org:/var/www/htdocs/dataswamp.org/~incal/sth/scripts/senior...done > > Use M-x make-directory RET RET to create the directory and its parents > > > > Doing it like this works: > > > > (find-file "/-:incal@srv.dataswamp.org:public_html/sth/scripts/senior") > > > > I.e., /home/incal/public_html is actually > > /var/www/htdocs/dataswamp.org/~incal > > I don't think so. "~incal" is the home directory of the user "incal". > But only, if "~incal" is the first part of a file name. And only if you've told your web server to do this mapping for you (for Apache, it's mod_userdir [1] and its config, lighttpd has a module with the same name [2], and I'm sure nginx has that too. It's the Web, so it's all smoke and mirrors. Cheers [1] https://httpd.apache.org/docs/2.4/mod/mod_userdir.html [2] https://doc.lighttpd.net/lighttpd2/mod_userdir.html -- t