Skip to content

Compare: Creating overrides

New page
Showing with 24 additions and 1 deletion.
  1. +24 −1 Creating-overrides.md
25 changes: 24 additions & 1 deletion Creating-overrides.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,35 @@ Use `globals.local` to affect **every** profile.
net none
```

### Add access to a directory
### Allow access to a file or directory

```
whitelist ~/MyPictures
noblacklist ~/MyPictures
whitelist /mydisk/videos
noblacklist /mydisk/videos
whitelist /myimportant.file
noblacklist /myimportant.file
```

Some profiles use whitelisting instead of blacklisting, specifying both directives ensures that one of them will match.

### Disallow access to a file or directory

```
nowhitelist ~/MyPictures
blacklist ~/MyPictures
nowhitelist /mydisk/videos
blacklist /mydisk/videos
nowhitelist /myimportant.file
blacklist /myimportant.file
```

Depending on the profile, the file or directory will still be visible but not accessible.

### Ignore a specific directive

Expand Down