Mount filesystem over sshfs at system startup / boot Mojave 10.14.6

Hello


I have an account at rsync.net

I have now mounted this filesystem using sshfs. The rsync.net account now show in the finder, and I am able to drag and drop using finder.


Mojave 10.14.6


Now, I want mount the rsync.net filesystem over sshfs at boot / system startup. How can this be done ?

Below is some output of various commands, for a better understanding of the system.


Tormods-MacBook-Pro:~ tormod$ sshfs --version

SSHFS version 2.5 (OSXFUSE SSHFS 2.5.0)

OSXFUSE 3.10.3

FUSE library version: 2.9.7

fuse: no mount point

Tormods-MacBook-Pro:~ tormod$


Tormods-MacBook-Pro:~ tormod$ kextstat|grep fuse

185 0 0xffffff7f85a93000 0x19000 0x19000 com.github.osxfuse.filesystems.osxfuse (3.10.3) AF3874A9-CF4E-39BF-A807-F61D1E6FABBF <8 6 5 3 1>

Tormods-MacBook-Pro:~ tormod$


Posted on Aug 23, 2020 3:31 AM

Reply

Similar questions

20 replies

Sep 12, 2020 12:48 PM in response to tormod_bjorøy

The script just needs other executable

chmod +rx /path/to/name-of-the-script
ls -l /path/to/name-of-the-script
-rwxr-xr-x 1 me staff 0 Sep 12 15:38 /path/to/name-of-the-script

The last r-x is 'other'

The directories in /path/to/... need +rx

generally, they will have that by default, unless you have been playing with file and directory permissions.


NOTE: if the script needs to create files in a directory, then root will want write access to the directory. If this was a true multi-user system (like having a bunch of college students remote logging, write access for 'other' would be a bad idea. But on your own Mac that you do not really share with anyone, it is not a big deal.


But having said that, unless a file being created needs to have long term persistent presents, I would just create temp files in /tmp


But if write to a directory is needed, then the directory where name-of-the-script lives should be +rwx




Sep 25, 2020 4:40 AM in response to tormod_bjorøy

And when I disable SIP, with

csrutil disable

I suddenly get output from the

kextstat|grep fuse

command again.

Tormods-MacBook-Pro:~ tormod$ kextstat|grep fuse
 164  0 0xffffff7f84831000 0x1a000  0x1a000  com.github.osxfuse.filesystems.osxfuse (3.11.0) E8885520-BA4F-3A9F-92C5-03F90FF86802 <8 6 5 3 1>
Tormods-MacBook-Pro:~ tormod$ 


It all works with

csrutil disable



But what is preventing fuse from loading with

csrutil enabled 

??



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Mount filesystem over sshfs at system startup / boot Mojave 10.14.6

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.