Content-type: text/html; charset=UTF-8 Man page of qvm-file-trust

qvm-file-trust

Section: Generic Commands Manual (1)
Updated: June 27, 2017
Index Return to Main Contents
 

NAME

qvm-file-trust - manage and view file or folder trust levels  

SYNOPSIS

qvm-file-trust [options] path [path ..]  

DESCRIPTION

qvm-file-trust can check and modify the trust level of files and folders. A folder is considered untrusted if its path lies in either the global untrusted folders list (/etc/qubes/always-open-in-dispvm.list) or the local list (~/.config/qubes/always-open-in-dispvm.list).

A file is considered trusted unless:

1. It sits under an untrusted folder's path

2. It has a 'user.qubes.untrusted' extended file attribute

3. It sits in a file path that has the phrase 'untrusted' in it. This phrase can be configured in /etc/qubes/always-open-in-dispvm.phrase

A '-' character can be placed in front of a path in the local list to override a path listed in the local list.  

OPTIONS

-h|--help
Display the help text.
-c|--check
Display the trust level of the file or folder. This is the default action.
-u|--untrusted
Mark the file or folder as untrusted.
-t|--trusted
Mark the file or folder as trusted.
-q|--quiet
Execute the command silently. Useful for scripts.
 

EXAMPLES

Check the trust level of a file:
qvm-file-trust [--check] ./leaked-document.pdf
Mark a file as untrusted:
qvm-file-trust --untrusted ./leaked-document.pdf
Mark multiple items as trusted at once
qvm-file-trust --trusted ~/files/ ./recipes.txt

 

ERRORS

0
No errors. File or folder is trusted
1
No errors. File or folder is untrusted
64
Improper arguments provided
65
Issue reading/setting extended file attributes
72
Unable to read/parse a file, such as global or local
77
Unable to unlock/chmod file for reading, no permissions
 

AUTHOR

Andrew Morgan (andrew at amorgan xyz)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
ERRORS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 10:16:09 GMT, June 30, 2017