summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-file-operations.c
diff options
context:
space:
mode:
authorIkey Doherty <[email protected]>2017-07-20 08:16:37 +0100
committerlukefromdc <[email protected]>2017-08-22 01:51:22 -0400
commit61fa153540c2931cbd7afe62752326d63b63b819 (patch)
treeca087a7c2f27b64379cee9097c416ff58ab56400 /libcaja-private/caja-file-operations.c
parentac12e6d16f4a51b3327d013781e72cfec17f3624 (diff)
downloadcaja-61fa153540c2931cbd7afe62752326d63b63b819.tar.bz2
caja-61fa153540c2931cbd7afe62752326d63b63b819.tar.xz
private: Ensure we allow launching .desktop files from trusted symlinks
When a file is a symlink to one of the XDG data dirs, we'll allow that link to work, as they're vendor provided and not world-writeable by a malicious entity. This lookup is handled by the "is_system_dir" logic, to ensure that whatever the .desktop symlink is pointing at is already implicitly whitelisted. This allows for vendor provided "default" symlinks on within user directories, such as installer shortcuts for LiveCDs, etc. Signed-off-by: Ikey Doherty <[email protected]>
Diffstat (limited to 'libcaja-private/caja-file-operations.c')
0 files changed, 0 insertions, 0 deletions