I'm trying to use sshfs to open a remote directory in the Spotify snap application on Linux Mint.
sshfs -o allow_other [email protected]:/remote/dir /local/dir
I've mounted my directory using the "allow_other" fuse option, and the directory opens without having to use sudo in terminal and file explorer. However, when I try adding it as a directory in Spotify for local files, the file explorer gives me this message:
Any advice on fixing this? I've tried modifying the permissions of the folder and "default_permissions" option, no luck yet.
--allow_others
(trailing 's'), and it should be used with-o default_permissions
. Have you tried that?sshfs
and Spotify (and the file picker you're showing)? Is AppArmor enabled on your system? Also, to makeallow_other
be effective when used by non-root users,user_allow_other
has to be uncommented in/etc/fuse.conf
(see the manual for fuse(8)).user_allow_other
Also how do I check if AppArmor is enabled on Linux Mint?aa-status
and saw that a few profiles withsnapd
in the directory name are in enforce mode. Could that be why? EDIT: One of them issnap.spotify.spotify
,