Added medium syndication metadata

This commit is contained in:
Brandon Rozek 2023-02-18 13:12:02 -05:00
parent 79329aae66
commit 387dd491b1
No known key found for this signature in database
GPG key ID: 26E457DA82C9F480
30 changed files with 175 additions and 134 deletions

View file

@ -1,10 +1,11 @@
---
title: "Permission Denied: Writing to Privileged Locations"
date: 2022-04-07T20:09:40-04:00
date: 2022-04-07 20:09:40-04:00
draft: false
tags: []
math: false
medium_enabled: true
medium_post_id: 7d133254be3f
tags: []
title: 'Permission Denied: Writing to Privileged Locations'
---
Perhaps you've tried something like the following:
@ -27,4 +28,4 @@ Instead consider the following:
echo "hi" | sudo tee /etc/test
```
The command `tee` takes whatever is in standard in, and writes it to the filename specified. Since we applied `sudo ` to the `tee` command, it now has the necessary permissions to write to a privileged location.
The command `tee` takes whatever is in standard in, and writes it to the filename specified. Since we applied `sudo ` to the `tee` command, it now has the necessary permissions to write to a privileged location.