As the title suggests, I was wondering what happens to via sshfs mounted folders if they are mapped to a subfolder of /tmp, e.g., /tmp/data. Are they simply unmounted or is the data removed recursively from the remote server as well?
Asked
Active
Viewed 262 times
0
Roofkiller
- 51
sshfsis FUSE. Do you mount as root? Or do you useallow_otherorallow_rootas non-root? (see the beginning of this answer). (2) Is the mount persistent? (does it survive reboot?). (3) Is your/tmptmpfs? (it may or may not be). (4) What distro are you using? (handling/tmpwas distro-dependent in 2012 and I suspect it still is (because)). (5) If you suspect mounting in/tmpmay destroy your data, simply don't mount in/tmp. – Kamil Maciorowski Dec 20 '21 at 16:21sshfsis executed in user-mode. the mount does not have to survive reboot (it is not part of/etc/fstab)./tmpis part of a hard drive. The distro is Ubuntu 20.04. – Roofkiller Dec 21 '21 at 11:36