Skip to main content
added 4 characters in body
Source Link

All other answers did not work. This is the one that worked for me:

sshfs REMOTE_USERNAME@REMOTE_HOST:/remote/dir/path/ local_mnt/path -o umask=003 -o <OTHER_OPTIONS> 

This option is important: umask=003

Set this to whatever rights you want to provide to the respective local user/group of the local directory/file. Here, 003 means: 774 (which is: 777 - 003). This allows the user and group to read, write and execute the files in the directory, others to only read them. It also applies to files that will be created in the future. More info here: Ubuntu: fuse MAN pages

All other answers did not work. This is the one that worked for me:

sshfs REMOTE_USERNAME@REMOTE_HOST:/remote/dir/path/ local_mnt/ -o umask=003 -o <OTHER_OPTIONS> 

This option is important: umask=003

Set this to whatever rights you want to provide to the respective local user/group of the local directory/file. Here, 003 means: 774 (which is: 777 - 003). This allows the user and group to read, write and execute the files in the directory, others to only read them. It also applies to files that will be created in the future. More info here: Ubuntu: fuse MAN pages

All other answers did not work. This is the one that worked for me:

sshfs REMOTE_USERNAME@REMOTE_HOST:/remote/dir/path/ local_mnt/path -o umask=003 -o <OTHER_OPTIONS> 

This option is important: umask=003

Set this to whatever rights you want to provide to the respective local user/group of the local directory/file. Here, 003 means: 774 (which is: 777 - 003). This allows the user and group to read, write and execute the files in the directory, others to only read them. It also applies to files that will be created in the future. More info here: Ubuntu: fuse MAN pages

added 24 characters in body
Source Link

All other answers did not work. This is the one that worked for me:

sshfs REMOTE_USERNAME@REMOTE_HOST:/remote/dir/path/ local_mnt/ -o umask=003 -o <OTHER_OPTIONS> 

This option is important: umask=003

Set this to whatever rights you want to provide to the respective local user/group of the local directory/file. Here, 003 means: 774 (which is: 777 - 003). This allows the user and group to read, write and execute the files in the directory, others to only read them. It also applies to files that will be created in the future. More info here: Ubuntu: fuse MAN pages

All other answers did not work. This is the one that worked for me:

sshfs REMOTE_USERNAME@REMOTE_HOST:/remote/dir/path/ local_mnt/ -o umask=003 -o <OTHER_OPTIONS> 

This option is important: umask=003

Set this to whatever rights you want to provide to the respective local directory/file. Here, 003 means: 774 (which is: 777 - 003). This allows the user and group to read, write and execute the files in the directory, others to only read them. It also applies to files that will be created in the future. More info here: Ubuntu: fuse MAN pages

All other answers did not work. This is the one that worked for me:

sshfs REMOTE_USERNAME@REMOTE_HOST:/remote/dir/path/ local_mnt/ -o umask=003 -o <OTHER_OPTIONS> 

This option is important: umask=003

Set this to whatever rights you want to provide to the respective local user/group of the local directory/file. Here, 003 means: 774 (which is: 777 - 003). This allows the user and group to read, write and execute the files in the directory, others to only read them. It also applies to files that will be created in the future. More info here: Ubuntu: fuse MAN pages

added 50 characters in body
Source Link

All other answers did not work. This is the one that worked for me:

sshfs REMOTE_USERNAME@REMOTE_HOST:/remote/dir/path/ local_mnt/ -o umask=022umask=003 -o <OTHER_OPTIONS> 

This option is important: umask=022umask=003

Set this to whatever rights you want to provide to the respective local directory/file. Here, 022003 means: 755774 (777which is: 777 - 022003). This allows the user and group to read, write and execute the files in the directory, others to only read them. It also thoseapplies to files that will be created in the future. More info here: Ubuntu: fuse MAN pages

All other answers did not work. This is the one that worked for me:

sshfs REMOTE_USERNAME@REMOTE_HOST:/remote/dir/path/ local_mnt/ -o umask=022 -o <OTHER_OPTIONS> 

This option is important: umask=022

Set this to whatever rights you want to provide to the respective local directory/file. Here, 022 means: 755 (777 - 022). This allows the user and group to read, write and execute the files in the directory, also those that will be created in the future. More info here: Ubuntu: fuse MAN pages

All other answers did not work. This is the one that worked for me:

sshfs REMOTE_USERNAME@REMOTE_HOST:/remote/dir/path/ local_mnt/ -o umask=003 -o <OTHER_OPTIONS> 

This option is important: umask=003

Set this to whatever rights you want to provide to the respective local directory/file. Here, 003 means: 774 (which is: 777 - 003). This allows the user and group to read, write and execute the files in the directory, others to only read them. It also applies to files that will be created in the future. More info here: Ubuntu: fuse MAN pages

added 124 characters in body
Source Link
Loading
added 7 characters in body
Source Link
Loading
Source Link
Loading