# apparmor.d - Full set of apparmor profiles # Copyright (C) 2021 Mikhail Morfikov # SPDX-License-Identifier: GPL-2.0-only abi , include @{exec_path} = /{usr/,}bin/sshfs profile sshfs @{exec_path} flags=(complain) { include @{exec_path} mr, /{usr/,}bin/ssh rPx, /{usr/,}bin/fusermount{,3} rPx, /dev/fuse rw, mount fstype=fuse.sshfs -> @{HOME}/*/, mount fstype=fuse.sshfs -> @{HOME}/*/*/, mount fstype=fuse.sshfs -> /media/*/, mount fstype=fuse.sshfs -> /media/*/*/, include if exists }