mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-10-09 14:31:13 +00:00
Added medium syndication metadata
This commit is contained in:
parent
79329aae66
commit
387dd491b1
30 changed files with 175 additions and 134 deletions
|
@ -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.
|
Loading…
Add table
Add a link
Reference in a new issue